Repository navigation
Add Glamsterdam proofs and a fresh Hoodi staking deployment - #3059
Open
naddison36 wants to merge 7 commits into
Open
naddison36 wants to merge 7 commits into
naddison36 wants to merge 7 commits into
Conversation
# Conflicts: # contracts/docs/ACTIONS.md # contracts/docs/talos-actions-inventory.md # contracts/pnpm-lock.yaml # contracts/tasks/beacon.js # contracts/tasks/lib/signer.ts
naddison36
marked this pull request as ready for review
November 30, 2026 05:31
This branch has not been deployed
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.
The existing Hoodi vault and staking proxies are governed by an inaccessible Defender relayer. Add an independent Hoodi deployment, based on the Glamsterdam proof implementation, with governance and operational roles handed to a dedicated Talos signer.
Changes
nicka/glamsterdamimplementation: progressive SSZ proof verification, legacy/Gloas fork router, proof-generation tooling and tests.claimHoodiGovernanceaction.HOODI_KMS_RELAYER_IDfor Hoodi and fail closed if it is missing; retain existing signer selection on other chains.Companion infrastructure: https://github.com/oplabs/talos/pull/60. Apply its signed infrastructure release and fund the new signer before live deployment. Then deploy using a separate bootstrap EOA, publish confirmed descriptors in the runner image, and manually claim governance through Talos.
Ethereum Gloas proof changes
The proof changes target Gloas's adoption of forward-compatible SSZ structures (EIP-7688).
BeaconStatebecomes aProgressiveContainer, and its validators, balances and pending-deposits collections becomeProgressiveLists. This changes the Merkle paths used by native staking even though the values being proven retain the same meaning. The Gloas consensus specification remains a work in progress; these paths must be checked against the final fork specification before rollout.Container paths
BeaconBlock.state_rootremains at generalized index (gindex)11. The new state layout changes the collection roots as follows; block-relative indices concatenate the state-root path with the state-relative path:List elements and proof lengths
Legacy list proofs use fixed tree depths determined by SSZ limits. Progressive lists place chunks in successive subtrees of 1, 4, 16, ... chunks, so the element index determines both the generalized index and proof depth.
BeaconProofsGloasLibcomputes these paths and requires exactly one 32-byte witness per level of the computed path, replacing the legacy fixed proof lengths.Validator proofs continue to prove the public-key hash and check the withdrawal credentials in the adjacent witness, or prove the withdrawable epoch. The Validator field paths remain unchanged inside each element. Balance chunks still pack four little-endian
uint64Gwei amounts: the progressive-list chunk index isvalidatorIndex / 4, andvalidatorIndex % 4selects the balance within the authenticated chunk. Pending-deposit proofs similarly use progressive element paths; first-deposit checks account for the new empty-list path and the first deposit's slot field. SHA-256 hashing and the PendingDeposit field encoding remain unchanged.Verifier and tooling changes
BeaconProofsGloasexposes the new paths through the existingIBeaconProofsinterface.BeaconProofsForkRoutertries the preferred verifier and retries the other verifier on revert. Its activation timestamp controls preference using the current execution timestamp; it does not authenticate the fork of a supplied beacon root, and a zero timestamp still allows Gloas through fallback. This is the current implementation behavior, not evidence that mixing proof formats is safe: review must ensure a collection-root proof and its element proofs cannot be accepted under incompatible layouts.Off-chain proof generation selects fork-specific Lodestar SSZ types and obtains list-relative generalized indices from those types. The Gloas checks require progressive validators, balances and pending-deposits types. Independent generated fixtures and end-to-end strategy coverage remain rollout requirements, as noted below.
Validation
git diff --checkpassed.Draft / remaining work
Gloas verification currently uses synthetic proof roots. Independent Lodestar-generated fixtures and full validator/deposit/balance integration coverage remain required before validator operations. The underlying branch also has a recursive
getStrategyNetworkNamehelper and assumes slot + 1 is produced inverifyValidator; these are documented and not fixed here. Existing staking actions remain mainnet-only until Hoodi beacon-provider and action paths are validated. Reconcile this branch with current master before merging.No live AWS resources or contracts have been created by this PR.