Skip to content

Commit

Permalink
fix price sim test (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding authored Sep 13, 2023
1 parent de33d2c commit e46bcee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocol/x/prices/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func RandomizedGenState(simState *module.SimulationState) {
Exponent: int32(marketExponent),
MinExchanges: uint32(minExchanges),
MinPriceChangePpm: uint32(simtypes.RandIntBetween(r, 1, int(lib.MaxPriceChangePpm))),
// The simulation tests don't run the daemon currently so we pass in empty exchange config.
ExchangeConfigJson: "{}",
}
marketPrices[i] = types.MarketPrice{
Id: uint32(i),
Expand Down

0 comments on commit e46bcee

Please sign in to comment.