test: add post task assertion#1325
Merged
maurelian merged 14 commits intoethereum-optimism:mainfrom Jan 16, 2026
Merged
Conversation
* test: update configs with soneium (#81) * fix: forge fmt (#84) * test: add post task assertions * style: formatting * test: receive assertions vars from env * refactor: remove trycatch usage * fix: build error (#88) * fix: warning * chore: sync prod configs (#94) * feat: base as executed (ethereum-optimism#1312) * feat:add worldchain sepolia key handback over task (ethereum-optimism#1284) * feat:add worldchain sepolia key handback over task * clean up worldchain key handback over task * changed worldchain task number * fix:delete task 39 replaced by task 46 * fix:update nonces * Update src/tasks/sep/046-worldchain-l2pao-key-handback-over/README.md Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * fix:updated message hashes changed after adding new nonces * Update README.md * fix:clean up text in sepolia validation.md * Update src/tasks/sep/046-worldchain-l2pao-key-handback-over/VALIDATION.md Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com> * ci: bump timeout because stacked sims are slow * ci: this really shouldn’t take 90m, testing… * Update config.toml * Update config.yml * feat: nonce bump * fix: remove noGasMetering modifier which causes stacked sims to hang I am unsure exactly why it hangs. This did not used to hang, but now it does. Still need to better understand the root cause here --------- Co-authored-by: Wazabie <48911235+Wazabie@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com> Co-authored-by: Matt Solomon <matt@mattsolomon.dev> Co-authored-by: JosepBove <josep@oplabs.co> * Safer safes migrate to LivenessModule2 template (ethereum-optimism#1298) * WIP on jb/safer-safes * fix: typos * feat: regression tests and finish template * fmt * fix: block * adding solutions to sepolia task dir (ethereum-optimism#1306) * feat: set worldchain l2pao key handback as executed on sepolia (ethereum-optimism#1315) * test: update configs with soneium (#81) (ethereum-optimism#1309) * test: update configs with soneium (#81) * fix: forge fmt (#84) * fix: build error (#88) * fix: warning * fix: wrong sepolia examples tasks numeration --------- Co-authored-by: Disco <131301107+0xDiscotech@users.noreply.github.com> --------- Co-authored-by: JosepBove <josep@oplabs.co> Co-authored-by: Zak Ayesh <44901995+ZakAyesh@users.noreply.github.com> Co-authored-by: Wazabie <48911235+Wazabie@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com> Co-authored-by: Matt Solomon <matt@mattsolomon.dev> Co-authored-by: soyboy <85043086+sbvegan@users.noreply.github.com> Co-authored-by: Disco <131301107+0xDiscotech@users.noreply.github.com> * refactor: consistency in integration tests structure * test: remove min withdrawal check * test: add post task assertions example command * test: expect l1withdrawer address on expect emit * refactor: change hardcoded variables to environment * refactor: move reused code to internal integration base functions * chore: update tasks config values * fix: remove wrong config * feat: add production task (#98) * test: add L2ToL1 message relaying * test: use fusaka block numbers and update regression tests * fix: sep task order on name * fix: integration and stack simulate tests (#100) * test: update tests * test: use deployed contracts upgrader * chore: remove unused vars * chore: remove unused vars * fix: update message hashes * fix: reduce upgrade gas limit (#102) * chore: update gas limit on examples as well * chore: improve L1 RPC example * test: add L1ToL2 message relaying * fix: sep council msg hash based on stacked simulation (#103) * fix: recipient in OP after FeesDepositor deposit * fix: add nonce overrides in sepolia task, fix hash in eth task (#106) * fix: remove pao nonce update on 048 and msg hashes (#107) * chore: increase gas cost on message relaying * fix: wrong address for TransactionDeposited event --------- Co-authored-by: Disco <131301107+0xDiscotech@users.noreply.github.com> Co-authored-by: JosepBove <josep@oplabs.co> Co-authored-by: Zak Ayesh <44901995+ZakAyesh@users.noreply.github.com> Co-authored-by: Wazabie <48911235+Wazabie@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com> Co-authored-by: Matt Solomon <matt@mattsolomon.dev> Co-authored-by: soyboy <85043086+sbvegan@users.noreply.github.com>
* fix: query l1 withdrawer instead of calculating it * fix: remove mainnet from op url name since it can be testnet as well * refactor: improve withdrawal assertions using below and above threshold * fix: receive op cdm as input instead of hardcoding mainnet * fix: rounding error on assertion * chore: replace mainnet hardcoded values for env inputs * chore: create strcuts to organize inputs and remove some mainnet defaults * chore: polish
* ci: update mention from evm-safety-team to security-oncall (ethereum-optimism#1328) * Update U18 betanet tasks addresses (ethereum-optimism#1329) * Update U18 betanet tasks addresses * Update addresses and hashes * Update U18 beta task status (ethereum-optimism#1331) Update U18 beta task status * ci/fix: add lint rule to detect non-alphabetical struct field ordering in TOML/JSON parsing (ethereum-optimism#1335) * ci: add script and check for proper struct ordering * fix: struct field ordering in OPCMUpgradeV600 * test: fix regression test, calldata changed * chore: revert chmod change --------- Co-authored-by: Matt Solomon <matt@mattsolomon.dev> Co-authored-by: Wazabie <48911235+Wazabie@users.noreply.github.com>
…ertions-2 chore: sync post task assertions 2
maurelian
reviewed
Jan 15, 2026
maurelian
reviewed
Jan 15, 2026
maurelian
reviewed
Jan 15, 2026
maurelian
reviewed
Jan 15, 2026
maurelian
reviewed
Jan 15, 2026
fix: address comments
maurelian
approved these changes
Jan 16, 2026
This was referenced Jan 27, 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.
This PR adds comprehensive end-to-end testing for RevShare functionality:
- After fee disbursement on L2, the test now mocks L2→L1 message relaying (triggered by the L1Withdrawer contract)
- Subsequently mocks L1→L2 message relaying (triggered by the FeesDepositor on L1)
- This completes the full RevShare withdrawal cycle in integration tests
- Applied to both RevShareSetupIntegration and RevShareContractsUpgraderIntegration test suites
- Accepts an RPC URL for an already-upgraded L2 chain (one with RevShare enabled)
- Validates that L2 contracts have correct RevShare configuration values:
- Runs the integration test flow to verify the full withdrawal cycle works on live upgraded chains