Repository navigation
migrate mainnet health tests from tenderly to foundry - #205
Merged
Merged
Conversation
yudilevi
approved these changes
Oct 16, 2026
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.
Migrate mainnet health tests from Tenderly to Foundry
Summary
test/forge/fork/MainnetHealth.t.sol).health.ymlstill runs it every 2h, viapnpm test:health.deploy/tests/mainnet/carbon.tsasserted, using the same shared trade test data. Adds deployment-integrity checks:deployments/mainnetpostUpgradecan't be replayedProxyAdminowner andROLE_ADMINholders are the expected accountsexecutecollects feesshouldHaveGaptodeployments/check-storage-gaps.sh(pnpm test:storage), which now also runs in CI.FORK_TESTS=1; plainforge testskips it. The RPC comes fromutils/rpcUrls.json, and the optionalMAINNET_RPC_URLsecret overrides it. The public fallback passes: one fork per run, ~370 RPC requests.Notes
pnpm test:deploy:mainnet(Tenderly).testImplementationsMatchDeploymentArtifactsfails until the updateddeployments/mainnetartifacts are merged. This is by design.Testing
pnpm test:healthon forge 1.3.5: 36/36 pass, both on a dedicated RPC and on public drpcpnpm test:storage: all 6 contracts passpnpm lint:sol: clean