Skip to content

fix(hyperevm): cast-version-independent field reads, registry trap fix - #168

Open
david-uniswap wants to merge 1 commit into
mainfrom
david/hyperevm-cast-portability
Open

david-uniswap wants to merge 1 commit into
mainfrom
david/hyperevm-cast-portability

Conversation

@david-uniswap

Copy link
Copy Markdown
Collaborator

Two non-blocking comments Daniel left with his approval on #164, fixed here:

  • merge_extra_deploys.py parsed cast receipt --json / cast tx --json, whose output shape changed in cast 1.8. It now uses the plain field accessors (cast receipt <tx> contractAddress|blockNumber, cast tx <tx> to|input), which print bare values on every version.
  • The ERR trap in hyperevm.sh registry copied several run-1*.json files to /dev/null, which only errors. It now restores run-latest.json to the newest broadcast explicitly.

Re-ran the registry step against main's committed deployments/json/999.json with the new script: byte-identical. Tooling only, no registry or contract changes.

🤖 Generated with Claude Code

…estore in the registry trap

Follow-up to #164 review (non-blocking comments left with the approval):
- merge_extra_deploys.py read cast --json, whose shape changed in cast 1.8 (wrapped in schema_version/success/data).
  Use the plain field accessors (cast receipt <tx> contractAddress|blockNumber, cast tx <tx> to|input), which print
  bare values on every version.
- hyperevm.sh registry: the ERR trap copied several run-1*.json files to /dev/null, which only errors. It now copies
  the newest broadcast to run-latest.json explicitly.

Registry step re-run against main's committed deployments/json/999.json: byte-identical.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.

1 participant