diff --git a/packages/commonwealth/client/scripts/controllers/chain/cosmos/gov/utils.ts b/packages/commonwealth/client/scripts/controllers/chain/cosmos/gov/utils.ts index f090d0db008..79e98dd4ace 100644 --- a/packages/commonwealth/client/scripts/controllers/chain/cosmos/gov/utils.ts +++ b/packages/commonwealth/client/scripts/controllers/chain/cosmos/gov/utils.ts @@ -25,7 +25,7 @@ export const getCompletedProposals = async ( const { chain, accounts, governance, meta } = cosmosChain; console.log(cosmosChain); const isGovgen = - meta.ChainNode?.cosmos_gov_version === + meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1beta1govgen; const isV1 = meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1; @@ -79,7 +79,7 @@ export const getActiveProposals = async ( ): Promise => { const { chain, accounts, governance, meta } = cosmosChain; const isGovgen = - meta.ChainNode?.cosmos_gov_version === + meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1beta1govgen; const isV1 = meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1;