Repository navigation
feat(standby): rotate verifier hashes to base/base v1.5.7 - #837
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
✅ Heimdall Review Status
|
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
The zeronet deployment itself checks out. Creation bytecode matches the archived v1.5.2 AggregateVerifier 0.3.0 deployment byte-for-byte with only the three hash constructor words changed, all 16 other immutables match onchain, and the zeronet validations match live Safe nonces and thresholds with a single gameImpls[621] write.
A few items need cleanup before signing or executing zeronet (details inline):
- Fill in the raw 48-byte PCR0 in the provenance line and confirm
make TASK_NETWORK=zeronet verifyran on0x78d1d9eF8c5aCD45704860D928FE5B585549423F. - Drop
taskOriginConfigfrom the zeronet validation files (same as PR #828) so origin metadata is not committed whenskipTaskOriginValidationis enabled. - Defer scaffolding
sepoliaandmainnetuntil their turn (or fix theirStatus: READY TO SIGNplaceholders) sovalidate-validationsis not failing on 4 missing files while zeronet runs. - On
base/base, thev1.5.7GitHub release is still a draft andPush on releases/v1.5.7failed onbb58b65. Confirm the release is final before moving past zeronet.
|
|
||
| Hash provenance: | ||
| - `ZK_RANGE_HASH` (`0x3318e30561fcda4d052a4546491cd1e97a6ed3b44f5b657257b064391962013c`) and `ZK_AGGREGATE_HASH` (`0x003bf461ab9a4e62f8383ed7222d04278e95c1d8c0cf3efa8e02f4aa1d936aad`): `just succinct vkeys --build` (SP1 v6.10.0, Docker on Podman) from `base/base` `releases/v1.5.7` ([`bb58b6532bac7e149ea160e80f47f4f65a7615af`](https://github.com/base/base/tree/bb58b6532bac7e149ea160e80f47f4f65a7615af)). | ||
| - `TEE_IMAGE_HASH` (`0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1c`, was `0x73181275ec86503b629510176b5bedec00309060b3f4ff5d8e55d9e83dad5cbd`): `cast keccak 0x<PCR0>`, the PCR0 of the Nitro enclave image built from the same commit. |
There was a problem hiding this comment.
Fill in the actual 48-byte PCR0 measurement here before collecting signatures so signers can independently verify cast keccak 0x<PCR0> equals 0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1c (per FACILITATOR.md).
Also confirm make TASK_NETWORK=zeronet verify has run on 0x78d1d9eF8c5aCD45704860D928FE5B585549423F before asking signers to sign.
There was a problem hiding this comment.
verify ran on 0x78d1d9eF8c5aCD45704860D928FE5B585549423F and passed (Pass - Verified): https://hoodi.etherscan.io/address/0x78d1d9eF8c5aCD45704860D928FE5B585549423F#code. Raw PCR0 to follow.
There was a problem hiding this comment.
Added the raw PCR0 in 85e2c87. cast keccak 0x26cd9703a06ab2b9cd6d7ada4cc1b711b7597be4083146259af8a819a9daee9ab78849657bd5c03a0c390d499a4913de = 0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1c.
| "taskOriginConfig": { | ||
| "taskCreator": { | ||
| "commonName": "mihir.wadekar@coinbase.com" | ||
| } | ||
| }, |
There was a problem hiding this comment.
Drop taskOriginConfig here and in security-council-signer.json when skipTaskOriginValidation is true, matching PR #828 (3d2911dc). That avoids committing an email address to a public repo when task-origin validation is skipped.
There was a problem hiding this comment.
Dropped taskOriginConfig from both zeronet validation files in 6c59c1d. validation-drift.py check still passes.
| Status: READY TO SIGN | ||
|
|
||
| ## Description | ||
|
|
||
| Register `<replacement-address>` instead of `0x4234216f1648A8119c6E41e6C0C73956Ecc850Af` for game type `621` on `DisputeGameFactory` (`0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1`). |
There was a problem hiding this comment.
Both config/sepolia/README.md and config/mainnet/README.md say Status: READY TO SIGN while still containing <replacement-address> and 0x<PCR0> placeholders, contradicting status.json ("step": "authoring").
Because config/sepolia/.env and config/mainnet/.env exist without validation files, validate-validations is also failing on 4 missing JSONs. Add each network when deploying and validating it rather than carrying unvalidated scaffolds through the PR.
There was a problem hiding this comment.
Removed the sepolia and mainnet invocations (config and status.json entries) in 6c59c1d. Each will be re-added when it's deployed and validated. validation-drift.py check now passes locally.
| "kind": "standby", | ||
| "networks": { | ||
| "zeronet": { | ||
| "step": "ready_to_sign", |
There was a problem hiding this comment.
zeronet should stay out of ready_to_sign until the raw PCR0 is filled in under config/zeronet/README.md (which the PR description also lists under remaining items before signing).
There was a problem hiding this comment.
Agreed. This is gated on the PCR0 provenance line; I'll keep zeronet from moving past signing until that's in.
…ocations Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed in 6c59c1d except PCR0, which is still pending. On v1.5.7: the release is still a draft and the |
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Review Error for roger-bai-coinbase @ 2026-12-05 19:33:46 UTC |
Approved review 6205467001 from roger-bai-coinbase is now dismissed due to new commit. Re-request for approval.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
The Sepolia deployment and signing payloads check out onchain. 0xBD53275Ae41202c3EcA97CBb1bDB7c8db5b4ea19 matches the live v1.5.2 AggregateVerifier 0.3.0 runtime bytecode (20,379 bytes) except for the 7 embedded immutable slots holding the 3 updated hashes, all 18 other getters match onchain, and Etherscan shows an exact match. Both Sepolia validations match the EIP-712 hashes and PAO approvedHashes slots at live Safe nonces (PAO=45, CB=36, SC=45) with a single gameImpls[621] write.
Items to address before signing and executing Sepolia (details inline):
- Register v1.5.7 enclaves in Sepolia
TEEProverRegistry(0xf0d7E15673fBA052e83d7f2b26BB6071E86b972e) before executingsetImplementation. Both registered signers (0x0Eb5BbeE...8826,0x970d9683...2bfF) still carry the v1.5.2 image hash (0x73181275...). BecauseregisterSigneris PCR0-agnostic, you can pre-register them ahead of execution so proposals do not fail on switch. - Resolve the premature mainnet scaffold and remove the reverted Sepolia broadcast record (inline), update the PR description to reflect Sepolia, and refresh
config/sepolia/prestate.json(make TASK_NETWORK=sepolia validate) right beforeexecutesince livegameCountis already past31878.
| @@ -0,0 +1,26 @@ | |||
| # Rotate verifier hashes on mainnet | |||
|
|
|||
| Status: READY TO SIGN | |||
There was a problem hiding this comment.
This says Status: READY TO SIGN, while status.json marks mainnet as authoring and signatures/mainnet/ is missing base-facilitator-signature.json and base-sc-facilitator-signature.json. Carrying mainnet in READY TO SIGN before Sepolia executes can confuse signers in sign-task and risks Safe nonce drift (PAO=23, CB=37, SC=17). Drop mainnet from the PR until Sepolia is done, or hold it out of READY TO SIGN (note that editing anything under config/mainnet/ invalidates creator-signature.json).
| { | ||
| "transactions": [ | ||
| { | ||
| "hash": "0xdc950088f4c49e7a00eac570b6a8f290883d60d5aa2153bab2b3926fc91091b9", |
There was a problem hiding this comment.
This transaction reverted onchain (status: 0x0, nonce 0x28) and was replaced by run-1796501233388.json (0xBD53275Ae41202c3EcA97CBb1bDB7c8db5b4ea19, nonce 0x29). Please remove this failed broadcast record so only the live deployment remains in records/.
There was a problem hiding this comment.
Removed in 96fbc7d; only the live deployment record (run-1796501233388.json) remains.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Rotates the multiproof
AggregateVerifier(game type 621) to thebase/basereleases/v1.5.7prover (bb58b65) using theupdate-verifier-hashesstandby operation. Canonical standby files are unchanged.TEE_IMAGE_HASH0x73181275ec86503b629510176b5bedec00309060b3f4ff5d8e55d9e83dad5cbd0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1cZK_RANGE_HASH0x3d3713d31a8936563bc56791040067131bb3fa3c0ab8b5e65e9c4cc0755b5fdb0x3318e30561fcda4d052a4546491cd1e97a6ed3b44f5b657257b064391962013cZK_AGGREGATE_HASH0x00d5a43068d7a9d1eac440a790b776c749ae6516c43f1a572226190cef6fd45a0x003bf461ab9a4e62f8383ed7222d04278e95c1d8c0cf3efa8e02f4aa1d936aadTEE_IMAGE_HASHiskeccak256of PCR00x26cd9703a06ab2b9cd6d7ada4cc1b711b7597be4083146259af8a819a9daee9ab78849657bd5c03a0c390d499a4913de. ZK vkeys come fromjust succinct vkeys --build(SP1 v6.10.0, Docker on Podman). All three networks ranAggregateVerifier0.3.0 with identical v1.5.2 hashes, so the same values apply everywhere.AggregateVerifier0x78d1d9eF8c5aCD45704860D928FE5B585549423F0xBD53275Ae41202c3EcA97CBb1bDB7c8db5b4ea190x25bc6CC6B8731D038d87c5Ca1cB707f16F927f46The Sepolia deploy needed
--gas-estimate-multiplier 900(as in #828): Sepolia now charges far more to deploy code than Forge 1.5.1 simulates, and the replacement used 31.7M gas. The approvals and execution used--gas-estimate-multiplier 300.Remaining before each network executes:
TEEProverRegistry(Sepolia is already switched; its registered signers still carry the v1.5.2 image hash, so TEE proofs fail until v1.5.7 enclaves register).prestate.jsonwithmake TASK_NETWORK=<network> validateright beforeexecute.base/basev1.5.7 release published (currently a draft).The PR stays open until every network is executed and archived.