The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/.changeset/four-bottles-hide.md

6 lines
96 B

feat(cli): display formatted deployment plan to confirm warp deploy (#4053) ### Description - adds formatted deployment plan to confirm warp deploy on `hyperlane warp deploy` ### Drive-by changes - none ### Related issues - fixes https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/4129 ### Backward compatibility - yes ### Testing - manual - ci-test Example display: ``` ➜ cli git:(06-25-feat_cli_display_formatted_deployment_plan_to_confirm_warp_deploy) ✗ hl warp deploy --registry /Users/nbayindirli/workplace/Hyperlane/hyperlane-registry --verbosity trace Hyperlane CLI Hyperlane Warp Route Deployment ------------------------------------------------ Using warp route deployment config at ./configs/warp-route-deployment.yaml Warp Route Deployment Plan ========================== 📋 Token Standard: ERC20 📋 Warp Route Config: ┌─────────┬───────┬─────────────┬──────────────────────────────────────────────┬──────────────────────────────────────────────┬───────────────────────┐ │ (index) │ NFT? │ Type │ Owner │ Mailbox │ ISM Config(s) │ ├─────────┼───────┼─────────────┼──────────────────────────────────────────────┼──────────────────────────────────────────────┼───────────────────────┤ │ alpha │ false │ 'native' │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ '0xf87B1E8fb8ee9F12bB0C0c77ac19C28773fdbff3' │ 'See table(s) below.' │ │ beta │ false │ 'synthetic' │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ '0x0b1D3Dd7162101Ad0c9A9Fe91c40CDE3410DaAFC' │ 'See table(s) below.' │ └─────────┴───────┴─────────────┴──────────────────────────────────────────────┴──────────────────────────────────────────────┴───────────────────────┘ 📋 alpha ISM Config(s): ┌───────────┬────────────────────────┐ │ (index) │ Values │ ├───────────┼────────────────────────┤ │ Type │ 'staticAggregationIsm' │ │ Threshold │ 1 │ │ Modules │ 'See table(s) below.' │ └───────────┴────────────────────────┘ ┌─────────┬──────────────────────────────────────────────┐ │ (index) │ Values │ ├─────────┼──────────────────────────────────────────────┤ │ Type │ 'trustedRelayerIsm' │ │ Relayer │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ └─────────┴──────────────────────────────────────────────┘ ┌─────────────────┬──────────────────────────────────────────────┐ │ (index) │ Values │ ├─────────────────┼──────────────────────────────────────────────┤ │ Type │ 'defaultFallbackRoutingIsm' │ │ Owner │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ │ Owner Overrides │ 'Undefined' │ │ Domains │ 'See warp config for domain specification.' │ └─────────────────┴──────────────────────────────────────────────┘ 📋 beta ISM Config(s): ┌───────────┬────────────────────────┐ │ (index) │ Values │ ├───────────┼────────────────────────┤ │ Type │ 'staticAggregationIsm' │ │ Threshold │ 1 │ │ Modules │ 'See table(s) below.' │ └───────────┴────────────────────────┘ ┌─────────┬──────────────────────────────────────────────┐ │ (index) │ Values │ ├─────────┼──────────────────────────────────────────────┤ │ Type │ 'trustedRelayerIsm' │ │ Relayer │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ └─────────┴──────────────────────────────────────────────┘ ┌─────────────────┬──────────────────────────────────────────────┐ │ (index) │ Values │ ├─────────────────┼──────────────────────────────────────────────┤ │ Type │ 'defaultFallbackRoutingIsm' │ │ Owner │ '0x16F4898F47c085C41d7Cc6b1dc72B91EA617dcBb' │ │ Owner Overrides │ 'Undefined' │ │ Domains │ 'See warp config for domain specification.' │ └─────────────────┴──────────────────────────────────────────────┘ ? Is this deployment plan correct? (Y/n) ```
5 months ago
---
'@hyperlane-xyz/cli': minor
---
Displays formatted deployment plan to confirm warp deploy.