fix(cli): set default fallback owner to empty instead of prompting for warp config (#3905)

### Description

- sets default fallback owner to empty instead of prompting for warp
config

### Drive-by changes

- none

### Related issues

- fixes https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3903

### Backward compatibility

- yes

### Testing

- ci-test
- manual
pull/3909/head
Noah Bayindirli 🥂 6 months ago committed by GitHub
parent 4b29717f56
commit 0e8374f361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      typescript/cli/src/config/ism.ts

@ -252,11 +252,6 @@ export const createRoutingConfig = callWithConfigCreationLogs(
export const createFallbackRoutingConfig = callWithConfigCreationLogs( export const createFallbackRoutingConfig = callWithConfigCreationLogs(
async (context: CommandContext): Promise<IsmConfig> => { async (context: CommandContext): Promise<IsmConfig> => {
const owner = await input({
message: 'Enter owner address for fallback routing ISM',
});
const ownerAddress = owner;
const chains = await runMultiChainSelectionStep( const chains = await runMultiChainSelectionStep(
context.chainMetadata, context.chainMetadata,
'Select chains to configure fallback routing ISM for', 'Select chains to configure fallback routing ISM for',
@ -273,7 +268,7 @@ export const createFallbackRoutingConfig = callWithConfigCreationLogs(
} }
return { return {
type: IsmType.FALLBACK_ROUTING, type: IsmType.FALLBACK_ROUTING,
owner: ownerAddress, owner: '',
domains: domainsMap, domains: domainsMap,
}; };
}, },

Loading…
Cancel
Save