Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: increase expiration time for oracle in upgrade-assure
Browse files Browse the repository at this point in the history
cosmic-vagabond committed May 17, 2024
1 parent 50a9605 commit 66b5dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/upgrade-assure/update-genesis.go
Original file line number Diff line number Diff line change
@@ -101,8 +101,8 @@ func updateGenesis(validatorBalance, homePath, genesisFilePath string) {
genesis.AppState.Parameter.Params.BrokerAddress = "elys1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrqau4f4q"

// update oracle price expiration
genesis.AppState.Oracle.Params.PriceExpiryTime = "604800"
genesis.AppState.Oracle.Params.LifeTimeInBlocks = "1000000"
genesis.AppState.Oracle.Params.PriceExpiryTime = "31536000"
genesis.AppState.Oracle.Params.LifeTimeInBlocks = "8000000"

outputFilePath := homePath + "/config/genesis.json"
if err := writeGenesisFile(outputFilePath, genesis); err != nil {

0 comments on commit 66b5dbc

Please sign in to comment.