Skip to content

fix(cli): resolve custom orbit chains for all cli commands - #728

Closed
yahgwai wants to merge 10 commits into
mainfrom
fix-cli-custom-chain-resolution
Closed

fix(cli): resolve custom orbit chains for all cli commands#728
yahgwai wants to merge 10 commits into
mainfrom
fix-cli-custom-chain-resolution

Conversation

@yahgwai

@yahgwai yahgwai commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
  • findChain now synthesizes a minimal chain for ids not in the registry instead of throwing, so CLI
    commands work against freshly deployed orbit chains.
  • Fixes all call sites at once (ArbOS upgrade, allow-list, upgrade-executor, safe deploy, etc.) —
    previously only the deploy commands and generic contract calls were covered.
  • Removes the redundant findOrDefineChain, consolidating to one resolver.

yahgwai added 8 commits June 9, 2026 11:53
- Add deployProxyAdmin: deploys an OpenZeppelin ProxyAdmin on the orbit chain.
- Add deployExpressLaneAuction: deploys the Timeboost ExpressLaneAuction
  implementation and an initialized TransparentUpgradeableProxy, given a ProxyAdmin.
- Expose both as CLI commands.
- Add @arbitrum/nitro-contracts ^3.2.0 as the source of the contract ABIs/bytecode.
Drop the proxyAdmin bytecode pre-flight check and its test: no other SDK deploy function validates caller-supplied contract addresses, and address format is already validated by the CLI schema. Also collapse the 12 init-arg fields into a rest-spread rather than re-listing them into the encoder.
Make findChain synthesize a minimal chain on a registry miss instead of
throwing, so every CLI call site works against freshly deployed orbit
chains not yet in the registry. Removes the redundant findOrDefineChain
and consolidates to a single resolver.
Base automatically changed from add-express-lane-auction-deploy to main July 16, 2026 13:38
@yahgwai

yahgwai commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #731.

@yahgwai yahgwai closed this Jul 23, 2026
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