Skip to content

Commit

Permalink
fix(chainInfo): ensure icqEnabled is present
Browse files Browse the repository at this point in the history
- given the ChainInfo type is inferred from KnownChains, ensure the icqEnabled key is present on all cosmos chains to facilitate TS types
  • Loading branch information
0xpatrickdev committed Jun 17, 2024
1 parent c2021ba commit b83745f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/orchestration/src/proposals/start-stakeAtom.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ export const startStakeAtom = async ({
hostConnectionId: connectionInfo.id,
controllerConnectionId: connectionInfo.counterparty.connection_id,
bondDenom: cosmoshub.stakingTokens[0].denom,
// @ts-expect-error icqEnabled exists on CosmosChainInfo type
icqEnabled: !!cosmoshub.icqEnabled,
icqEnabled: cosmoshub.icqEnabled,
},
privateArgs: {
orchestration: await orchestration,
Expand Down

0 comments on commit b83745f

Please sign in to comment.