Skip to content

Conversation

AttissNgo
Copy link
Contributor

@AttissNgo AttissNgo commented Jun 20, 2025

AXE-9612

  • add common script for all chain types
  • update instructions in EVM ITS release template

- add common script for all chain types
- update instructions in EVM ITS release template

const commands = [
{
cmd: `ts-node evm/its.js set-trusted-chains ${chain} hub -n all`,
Copy link
Member

Choose a reason for hiding this comment

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

ideally, we should just import the functions directly and call it instead of via a shell. But in this case, it might be more effort to do that, so maybe this is fine

}

async function setTrustedChainsAll(config, args, options) {
const chain = process.env.CHAIN;
Copy link
Member

Choose a reason for hiding this comment

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

avoid parsing env vars/cli args directly. Use the commander library to get CLI inputs like we do in all our scripts

Copy link
Contributor

@blockchainguyy blockchainguyy Jul 7, 2025

Choose a reason for hiding this comment

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

Also ignoreChainNames can be set to true, if u need a chain name in script.

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.

4 participants