diff --git a/app/sim_test.go b/app/sim_test.go index bbac1d06..c87e2fd9 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -204,7 +204,9 @@ func TestAppImportExport(t *testing.T) { }, }, {app.keys[distrtypes.StoreKey], newApp.keys[distrtypes.StoreKey], [][]byte{}}, - {app.keys[paramstypes.StoreKey], newApp.keys[paramstypes.StoreKey], [][]byte{}}, + {app.keys[paramstypes.StoreKey], newApp.keys[paramstypes.StoreKey], [][]byte{ + []byte("evm/EnableExtraEIPs"), + }}, {app.keys[evidencetypes.StoreKey], newApp.keys[evidencetypes.StoreKey], [][]byte{}}, {app.keys[capabilitytypes.StoreKey], newApp.keys[capabilitytypes.StoreKey], [][]byte{}}, {app.keys[feegrant.StoreKey], newApp.keys[feegrant.StoreKey], [][]byte{}}, diff --git a/x/govshuttle/module_simulation.go b/x/govshuttle/module_simulation.go index 7c3d1de5..29779a80 100644 --- a/x/govshuttle/module_simulation.go +++ b/x/govshuttle/module_simulation.go @@ -37,14 +37,12 @@ func (am AppModule) ProposalContents(_ module.SimulationState) []simtypes.Weight // RandomizedParams creates randomized param changes for the simulator func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - return []simtypes.ParamChange{} } // RegisterStoreDecoder registers a decoder func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) { sdr[types.StoreKey] = simulation.NewDecodeStore(am.cdc) - } // WeightedOperations returns the all the gov module operations with their respective weights. diff --git a/x/govshuttle/simulation/decoder.go b/x/govshuttle/simulation/decoder.go index 604d587b..99a179d2 100644 --- a/x/govshuttle/simulation/decoder.go +++ b/x/govshuttle/simulation/decoder.go @@ -16,7 +16,7 @@ import ( func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string { return func(kvA, kvB kv.Pair) string { switch { - case bytes.Equal(kvA.Key[:], types.PortKey): + case bytes.Equal(kvA.Key[:4], types.PortKey): var paA, paB common.Address paA = common.BytesToAddress(kvA.Value) paB = common.BytesToAddress(kvB.Value)