Skip to content

feat(cli): add TokenBridge SetPauserAddresses and Sui ContractUpgrade… - #4955

Open
douglasgalico wants to merge 4 commits into
wormhole-foundation:mainfrom
wormholelabs-xyz:feat/worm-cli-tb-governance
Open

feat(cli): add TokenBridge SetPauserAddresses and Sui ContractUpgrade…#4955
douglasgalico wants to merge 4 commits into
wormhole-foundation:mainfrom
wormholelabs-xyz:feat/worm-cli-tb-governance

Conversation

@douglasgalico

Copy link
Copy Markdown
Contributor

… support

@douglasgalico
douglasgalico force-pushed the feat/worm-cli-tb-governance branch 2 times, most recently from 78bfe8b to c5f2750 Compare August 25, 2026 18:06
@douglasgalico
douglasgalico requested a review from djb15 as a code owner August 26, 2026 11:14
@douglasgalico
douglasgalico force-pushed the feat/worm-cli-tb-governance branch from 88d19e3 to 6b32ebb Compare August 26, 2026 11:15

@djb15 djb15 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not that familiar with the js client so this was a pretty light review

node-version: "22"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@8789b3e21e6c11b2697f5eb56eddae542f746c10 # v1.7.0
uses: foundry-rs/foundry-toolchain@908c540300062bd5a7e473851cdb4282204cee09 # v1.9.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ty for fixing the builds! Verified the hash matches the claimed version

Comment on lines +288 to +298
const tx = await setPauserAddresses(
client,
network,
vaa,
coreBridgeStateObjectId,
tokenBridgeStateObjectId
);
setMaxGasBudgetDevnet(network, tx);
const res = await executeTransactionBlock(signer, tx);
console.log(JSON.stringify(res));
break;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to assert whether or not the transaction actually succeeded here?

dependencies: string[];
digest: number[];
} = JSON.parse(
execSync(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Prefer execFileSync here so that we're not passing unsanitized variables directly to the shell

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