Skip to content

Commit

Permalink
fix(consensus): update consensus abci param to enable oracle price da… (
Browse files Browse the repository at this point in the history
#99)

fix(consensus): update consensus abci param to enable oracle price data feed
  • Loading branch information
cosmic-vagabond authored Feb 4, 2025
1 parent af30970 commit 0c8d6b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/update-genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ func UpdateGenesis(cmdPath, homePath, genesisFilePath string, balances []string,
// update AMM params to whitelist validator address
genesis.AppState.Amm.Params.AllowedPoolCreators = append(genesis.AppState.Amm.Params.AllowedPoolCreators, validatorAddress)

// update consensus abci params to trigger oracle data update
genesis.Consensus.Params.ABCI.VoteExtensionsEnableHeight = "2"

// update commitment airdrop params
// genesis.AppState.Commitment.Params.EnableClaim = true
// genesis.AppState.Commitment.Params.StartAirdropClaimHeight = json.Number("111046")
Expand Down

0 comments on commit 0c8d6b7

Please sign in to comment.