Skip to content

feat(mainnet): register Base DEX Router Release 20 settlement - #833

Open
niran wants to merge 8 commits into
mainfrom
feat/mainnet-r20-settlement-registration
Open

niran wants to merge 8 commits into
mainfrom
feat/mainnet-r20-settlement-registration

Conversation

@niran

@niran niran commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Invoke the pre-reviewed ReleaseDirectory registration task in place for Base DEX Router Release 20 Settlement. The canonical Makefile, Solidity, and facilitator guide are unchanged.
  • Fix the standby lifecycle tests so an operational PR can carry an invocation while the main-branch check still rejects invocation files on main. Both ref types still reject invocation data misplaced in canonical files.

Validation

  • Re-targeted activation to 1796918400 (Thu Dec 10, 2026 16:00 UTC / 10:00 CST); previous nonce-108 registration for 1796673600 (0x6d81630c...49cf) was not executed and is superseded.
  • The canonical unsigned Forge simulation matches live Ethereum Incident Safe nonce 108 (verified at block 26,567,636; confirmed 108 with 0 queued txs on Safe TX Service at block 26,567,787), domain hash 0xf3474c66ee08325b410c3f442c878d01ec97dd55a415a307e9d7d2ea24336289, message hash 0x50073aea55e2d72d8605eb4fbc033692a4f752ec5148d779c26522edad1b7c6e, and Safe transaction hash 0x07e6da02ea58ee6b76f0b3c9506e824479bcef8395776eecdfc67d8d44c39d84. The Safe call target, 388-byte Portal calldata (Keccak-256 0x92d83a60e8b49d9937b401fa19bfa9dcd593424679a7aed7d0f6f83bea7c7f3a), operation, value, and all gas/refund fields match the prepared intent.
  • Replaying the emitted Portal deposit on a Base fork (block 66,636,879) at simulated Mon Dec 7, 2026 09:00 CST (1796655600) emitted ReleaseRegistered for Settlement and used 121,396 of 250,000 gas. isEnabled is false at 1796918399 and true at 1796918400.
  • Timing-guard boundary (activationDelay = 172800 s): replay at 1796745600 (Tue Dec 8, 2026 16:00:00 UTC / 10:00:00 CST) succeeds (121,396 gas); calling register at 1796745601 (+1s) reverts with ActivationTooEarly(1796918400, 1796918401) (0xf982fb49).
  • Facilitator regenerated validations/base-signer.json via make TASK_NETWORK=mainnet gen-validation-cb and verified make TASK_NETWORK=mainnet check-validations (No meaningful differences: base-signer.json). Both Ledger hashes, approvedHashes override slot, Safe nonce increment (108 -> 109), ResourceMetering allowDifference: true, and taskInputs fingerprint (1789ab10...830e) match.
  • make check-task-status, make TASK_NETWORK=mainnet validate-config, and python3 scripts/validation-drift.py check passed; full fork evidence is in standby/evm/tasks/release-directory-register/config/mainnet/VALIDATION.md.

Before signing and after execution

validations/base-signer.json is regenerated and verified via check-validations, and status.json is at ready_to_sign. Keep this PR unmerged until the operation is finalized and archived.

type=routine
risk=medium
impact=sev5

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 2
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 2
2
1 if commit is unverified 0
1 if authored by an app that is not allowlisted and lacks verified human attribution 0
Sum 2

@niran
niran marked this pull request as ready for review December 4, 2026 23:27
@leopoldjoy

Copy link
Copy Markdown
Contributor

Accepted non-blocking residuals, not fixes: installed-library provenance and hardware/live cross-chain assurance remain as in #832. This invocation leaves canonical code and its pin unchanged; independently reconstructed Safe/Ledger hashes, the input fingerprint, live contract state and read-only L1/L2 calls match the intended registration.

Validation: 81 Python, 13 Solidity and 42 Jest tests passed; current-head CI, including three signer integrations, passes. Local signer integrations and full-fork preflight hit Foundry's macOS NULL-object panic; trace RPCs rejected requests. The documented full-fork event/gas evidence was not independently reproduced, and BLOCKSEC-5544 requires Jira SAML, so its audit contents remain unverified.

Before signing, the facilitator must regenerate/compare validations and recheck nonce, queue, ownership and timing per the guide. This is code/transaction-intent review, not signing or execution authorization. Keep the PR unmerged until the operation is executed/canceled, finalized and archived.

Reviewed ed096ce: no remaining approval-blocking findings and relevant code/test CI is passing. @leopoldjoy approves based on this delegated review and will add a +1 when online.

Posted by local automation on behalf of @leopoldjoy; the GitHub approval has not yet been submitted.

niran added 2 commits December 5, 2026 18:53
Update R20 Settlement ReleaseDirectory registration activation timestamp from 1796673600 (Dec 7 14:00 CST) to 1796918400 (Dec 10 10:00 CST), keeping all other payload fields and Ethereum Incident Safe nonce 108 unchanged (verified live on block 26,567,636).

- Refresh VALIDATION.md with recomputed EIP-712 hashes (safeTxHash 0x07e6da02ea58ee6b76f0b3c9506e824479bcef8395776eecdfc67d8d44c39d84), fresh L1/Base fork simulation evidence at Mon Dec 7 morning CST, and exact activationDelay timing-guard boundary proof (1796745600 succeeds; 1796745601 reverts ActivationTooEarly).
- Update config/mainnet/README.md activation time and status.json timestamp.
- Remove obsolete config/mainnet/validations/base-signer.json (for 1796673600) pending facilitator regeneration via make TASK_NETWORK=mainnet gen-validation-cb.
Commit facilitator-regenerated and check-validations-verified validations/base-signer.json for R20 Settlement registration (activation 1796918400, Ethereum Incident Safe nonce 108) and advance status.json step to ready_to_sign.

Verified against independent L1 Forge and Base fork simulations:
- domainHash: 0xf3474c66ee08325b410c3f442c878d01ec97dd55a415a307e9d7d2ea24336289
- messageHash: 0x50073aea55e2d72d8605eb4fbc033692a4f752ec5148d779c26522edad1b7c6e
- safeTxHash: 0x07e6da02ea58ee6b76f0b3c9506e824479bcef8395776eecdfc67d8d44c39d84
- approvedHashes override slot and nonce change (108 -> 109) exact match
- make TASK_NETWORK=mainnet check-validations: No meaningful differences: base-signer.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants