hyperlane-monorepo
hyperlane-monorepo copied to clipboard
Migrate existing `core` / `chain` CLI config management to new setup
Note that atm, config management in the CLI's "core config" is a mix of the chain config, ism config (migration tracked here https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3536), and hook config (migration tracked here https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3534).
- [ ] Move
hyperlane config create chaintohyperlane core config create-chain- (feel free to come up with a better name)
- [ ] Move
hyperlane config validate chaintohyperlane core config validate-chain- (feel free to come up with a better name)
- [ ] Create a new command,
hyperlane core config output- (feel free to come up with a better name)
- This should be the new home of existing logic in the CLI that reads in the concise CLI-specific chain configs relating to the CLI-generated ISM / hook / chain configs (the ones used by the create or validate commands) and outputs a "verbose config" that is a
ChainMap<CoreConfig>to stdout
- owner should default to
HYP_KEYaddress following https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3724