Skip to content

feat: get chain contract versions - #687

Open
alxdca wants to merge 2 commits into
mainfrom
feat/get-chain-contract-verions
Open

feat: get chain contract versions#687
alxdca wants to merge 2 commits into
mainfrom
feat/get-chain-contract-verions

Conversation

@alxdca

@alxdca alxdca commented Apr 8, 2026

Copy link
Copy Markdown
Contributor
This PR is part of a stack created with Aviator.

Summary

  • Add getChainContractVersions to discover deployed Nitro contract versions for an Orbit chain.
  • Use the native @arbitrum/chain-actions versioner and return version details with any upgrade recommendation.
  • Export the helper from the SDK and add unit coverage for result handling.
  • Add a runnable example using an inbox address and parent-chain RPC URL.

Why / Context

Orbit chain operators need a straightforward way to inspect their deployed contract versions and determine whether an upgrade is recommended. This exposes the native chain versioner through the chain SDK and documents an end-to-end usage path.

@alxdca
alxdca changed the base branch from main to feat/docker-command-runner April 8, 2026 09:00
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from 04b4152 to 61186f2 Compare April 8, 2026 09:45
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from ec19ea7 to 0653361 Compare April 16, 2026 11:12
@alxdca
alxdca requested a review from spsjvc April 17, 2026 13:40
@alxdca
alxdca marked this pull request as draft April 21, 2026 13:16
@alxdca alxdca changed the title feat: get chain contract versions WIP: feat: get chain contract versions Apr 21, 2026
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from a0d29ee to 2163903 Compare May 4, 2026 13:20
@alxdca
alxdca force-pushed the feat/docker-command-runner branch from 0c9dbc3 to a28cf9a Compare May 4, 2026 13:27
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch 2 times, most recently from 45f6a5c to c238223 Compare May 5, 2026 13:01
@alxdca alxdca changed the title WIP: feat: get chain contract versions feat: get chain contract versions May 5, 2026
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from c238223 to 5980936 Compare May 5, 2026 15:29
@alxdca
alxdca force-pushed the feat/docker-command-runner branch from 3caf275 to f052dc7 Compare May 5, 2026 15:38
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from 5980936 to e1baff4 Compare May 6, 2026 13:43
@alxdca
alxdca changed the base branch from feat/docker-command-runner to main August 25, 2026 14:43
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch 2 times, most recently from 2b7414a to cde65a9 Compare August 31, 2026 14:35
@alxdca
alxdca marked this pull request as ready for review August 31, 2026 14:37
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from cde65a9 to 85f3305 Compare August 31, 2026 14:38
@alxdca
alxdca force-pushed the feat/get-chain-contract-verions branch from 85f3305 to 29f8865 Compare September 1, 2026 09:42
@alxdca
alxdca requested a review from yahgwai September 1, 2026 13:44
Comment thread src/getChainContractVersions.ts Outdated
return parsed as GetChainContractVersionsResult;
}

export async function getChainContractVersions(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We could be a bit more precise with the name:

Suggested change
export async function getChainContractVersions(
export async function getNitroContractsVersions(

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.

2 participants