Repository navigation
Conversation
Add pnpm upgrade-checks, which runs an upgrade's feature cases against testnet or mainnet in pre or post mode and writes upgrade-checks-result.json plus a step summary. T14 cases cover configurable accounts, account upgrades, access keys and admin access key removal. The Upgrade checks workflow runs it on demand and uploads the result.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a repeatable feature check suite for network upgrades, starting with T14, that a workflow can run against testnet or mainnet right after activation.
What it adds
pnpm upgrade-checks --upgrade t14 --network testnet|mainnet [--mode post|pre](scripts/upgrade-checks/run.ts).postexpects the upgrade's behavior to work;preexpects it to be rejected before activation.scripts/upgrade-checks/t14.ts, each{ id, name, area, needsFunds, run(ctx) }returning pass, fail, or blocked with detail and transaction links:getConfigCommitment), signature verifier accepts a 2-of-3 approval.upgrade-checks-result.json({ upgrade, network, chainId, mode, rpc, block, startedAt, finishedAt, cases, summary }) and appends a Markdown table to$GITHUB_STEP_SUMMARYwhen set. Exits 1 when any case fails; blocked cases don't fail the run.UPGRADE_CHECKS_PRIVATE_KEYand otherwise report blocked.UPGRADE_CHECKS_TOKENoverrides the stablecoin (AlphaUSD on testnet, pathUSD on mainnet by default).TEMPO_RPC_API_KEYsends RPC through the Tempo API's keyed proxy.e2e/rpc.tsnow exportstempoApiRpcUrlso both use one URL..github/workflows/upgrade-checks.yml:workflow_dispatchwithupgrade,network, andmodeinputs, pinned actions as in the other workflows, uploads the result as an artifact.tsconfig.node.jsontype-checksscripts/upgrade-checks.Local runs
Notes from the testnet run:
invalid transaction signature, not themultisig signature weight below thresholdmessage the Signing Thresholds page names.authorizeAdminKeyreverts withUnknownFunctionSelector.