Repository navigation
Recognize the pre-release Vault build that holds token #45744 - #3
Merged
Merged
Conversation
Its runtime hash (1,955 bytes, no heldAgent()) was read from Vault 0x6bdC52c8e262c6D139e618260400614c2Bfe51d7 on Base with ethagent custody --verify --json. Simulations against it match the current build's permissions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HG2miyE22qTuug1Quxj7iw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HG2miyE22qTuug1Quxj7iw
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.
Summary
This adds the pre-release Vault build to the table of known builds in
src/identity/registry/vault/builds.ts. Ale's Vault0x6bdC52c8e262c6D139e618260400614c2Bfe51d7on Base runs this build and holds token #45744.0xf8f2319752c7b0a6382ef0d233426d0bd605641e65300a4e1b2ece5479a64c13, 1,955 bytes.ethagent custody --verify --json, and the bytecode was supplied directly.Behavior of this build
The owner, operator, and refusal rules match the current build, with three differences:
heldAgent()view. The deposit preflight already falls back toagentOwneron builds without it.UnexpectedToken.Effect
Before this change, ethagent treats Ale's Vault as unknown code:
custody --verifyexits 4;With this change the build is recognized and those checks work as intended.
Testing
npm run typecheckis clean.npm testpasses all 732 tests. The builds test now looks up the pre-release hash.node bin/ethagent.js custody --verify --jsonshould report the pre-release build, list the expected simulation results, and exit 0.🤖 Generated with Claude Code
https://claude.ai/code/session_01HG2miyE22qTuug1Quxj7iw
Generated by Claude Code