Expose SetParams as I will need that for migration code outside of this package
This commit is contained in:
@@ -46,7 +46,7 @@ func TestGenesisExportImport(t *testing.T) {
|
||||
// store some test data
|
||||
f := fuzz.New().Funcs(ModelFuzzers...)
|
||||
|
||||
wasmKeeper.setParams(srcCtx, types.DefaultParams())
|
||||
wasmKeeper.SetParams(srcCtx, types.DefaultParams())
|
||||
|
||||
for i := 0; i < 25; i++ {
|
||||
var (
|
||||
@@ -88,7 +88,7 @@ func TestGenesisExportImport(t *testing.T) {
|
||||
}
|
||||
var wasmParams types.Params
|
||||
f.NilChance(0).Fuzz(&wasmParams)
|
||||
wasmKeeper.setParams(srcCtx, wasmParams)
|
||||
wasmKeeper.SetParams(srcCtx, wasmParams)
|
||||
|
||||
// export
|
||||
exportedState := ExportGenesis(srcCtx, wasmKeeper)
|
||||
|
||||
Reference in New Issue
Block a user