Skip to content

feat(standby): rotate verifier hashes to base/base v1.5.7 - #837

Merged
jackchuma merged 13 commits into
mainfrom
mw2000/update-verifier-hashes-v1.5.7
Dec 5, 2026
Merged

jackchuma merged 13 commits into
mainfrom
mw2000/update-verifier-hashes-v1.5.7

Conversation

@mw2000

@mw2000 mw2000 commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Rotates the multiproof AggregateVerifier (game type 621) to the base/base releases/v1.5.7 prover (bb58b65) using the update-verifier-hashes standby operation. Canonical standby files are unchanged.

Hash Current (v1.5.2) New (v1.5.7)
TEE_IMAGE_HASH 0x73181275ec86503b629510176b5bedec00309060b3f4ff5d8e55d9e83dad5cbd 0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1c
ZK_RANGE_HASH 0x3d3713d31a8936563bc56791040067131bb3fa3c0ab8b5e65e9c4cc0755b5fdb 0x3318e30561fcda4d052a4546491cd1e97a6ed3b44f5b657257b064391962013c
ZK_AGGREGATE_HASH 0x00d5a43068d7a9d1eac440a790b776c749ae6516c43f1a572226190cef6fd45a 0x003bf461ab9a4e62f8383ed7222d04278e95c1d8c0cf3efa8e02f4aa1d936aad

TEE_IMAGE_HASH is keccak256 of PCR0 0x26cd9703a06ab2b9cd6d7ada4cc1b711b7597be4083146259af8a819a9daee9ab78849657bd5c03a0c390d499a4913de. ZK vkeys come from just succinct vkeys --build (SP1 v6.10.0, Docker on Podman). All three networks ran AggregateVerifier 0.3.0 with identical v1.5.2 hashes, so the same values apply everywhere.

Network New AggregateVerifier Status
Zeronet 0x78d1d9eF8c5aCD45704860D928FE5B585549423F Executed
Sepolia 0xBD53275Ae41202c3EcA97CBb1bDB7c8db5b4ea19 Executed
Mainnet 0x25bc6CC6B8731D038d87c5Ca1cB707f16F927f46 Ready to sign (Base 0/3, Security Council 0/8); creator and facilitator origin signatures added

The 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:

  • Register v1.5.7 enclaves in that network's 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).
  • Refresh prestate.json with make TASK_NETWORK=<network> validate right before execute.
  • Mainnet: the base/base v1.5.7 release published (currently a draft).

The PR stays open until every network is executed and archived.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cb-heimdall

cb-heimdall commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews ✅ 2/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

mw2000 and others added 2 commits December 5, 2026 06:35
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@jackchuma jackchuma left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 verify ran on 0x78d1d9eF8c5aCD45704860D928FE5B585549423F.
  • Drop taskOriginConfig from the zeronet validation files (same as PR #828) so origin metadata is not committed when skipTaskOriginValidation is enabled.
  • Defer scaffolding sepolia and mainnet until their turn (or fix their Status: READY TO SIGN placeholders) so validate-validations is not failing on 4 missing files while zeronet runs.
  • On base/base, the v1.5.7 GitHub release is still a draft and Push on releases/v1.5.7 failed on bb58b65. 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verify ran on 0x78d1d9eF8c5aCD45704860D928FE5B585549423F and passed (Pass - Verified): https://hoodi.etherscan.io/address/0x78d1d9eF8c5aCD45704860D928FE5B585549423F#code. Raw PCR0 to follow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the raw PCR0 in 85e2c87. cast keccak 0x26cd9703a06ab2b9cd6d7ada4cc1b711b7597be4083146259af8a819a9daee9ab78849657bd5c03a0c390d499a4913de = 0x1d046f662cee9bcb549f0b2342cbea3c192c203ab1c16dfd15d110815a7e6c1c.

Comment on lines +91 to +95
"taskOriginConfig": {
"taskCreator": {
"commonName": "mihir.wadekar@coinbase.com"
}
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped taskOriginConfig from both zeronet validation files in 6c59c1d. validation-drift.py check still passes.

Comment on lines +3 to +7
Status: READY TO SIGN

## Description

Register `<replacement-address>` instead of `0x4234216f1648A8119c6E41e6C0C73956Ecc850Af` for game type `621` on `DisputeGameFactory` (`0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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",

@jackchuma jackchuma Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@mw2000

mw2000 commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Addressed in 6c59c1d except PCR0, which is still pending. On v1.5.7: the release is still a draft and the Build RC run on bb58b65 was cancelled. We won't move past zeronet until it's final.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

Review Error for roger-bai-coinbase @ 2026-12-05 19:33:46 UTC
User failed mfa authentication, see go/mfa-help

@cb-heimdall
cb-heimdall dismissed roger-bai-coinbase’s stale review December 5, 2026 20:08

Approved review 6205467001 from roger-bai-coinbase is now dismissed due to new commit. Re-request for approval.

mw2000 and others added 3 commits December 5, 2026 12:15
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@jackchuma jackchuma left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 executing setImplementation. Both registered signers (0x0Eb5BbeE...8826, 0x970d9683...2bfF) still carry the v1.5.2 image hash (0x73181275...). Because registerSigner is 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 before execute since live gameCount is already past 31878.

@@ -0,0 +1,26 @@
# Rotate verifier hashes on mainnet

Status: READY TO SIGN

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 96fbc7d; only the live deployment record (run-1796501233388.json) remains.

mw2000 and others added 4 commits December 5, 2026 14:00
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>
@jackchuma
jackchuma marked this pull request as ready for review December 5, 2026 23:32
@jackchuma
jackchuma merged commit f1ad26e into main Dec 5, 2026
8 of 9 checks passed
@jackchuma
jackchuma deleted the mw2000/update-verifier-hashes-v1.5.7 branch December 5, 2026 23:43
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.

6 participants