From e46bcee52c6babc9c22b7b8e959e68fa1f513bdf Mon Sep 17 00:00:00 2001 From: Teddy Ding Date: Wed, 13 Sep 2023 10:54:09 -0400 Subject: [PATCH] fix price sim test (#244) --- protocol/x/prices/simulation/genesis.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/x/prices/simulation/genesis.go b/protocol/x/prices/simulation/genesis.go index a658a6dc8b..0e0deb3db9 100644 --- a/protocol/x/prices/simulation/genesis.go +++ b/protocol/x/prices/simulation/genesis.go @@ -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),