Expose SetParams as I will need that for migration code outside of this package

This commit is contained in:
Ethan Frey
2022-01-24 13:46:18 +01:00
parent 1eb27da462
commit 3acc8c960c
6 changed files with 12 additions and 12 deletions

View File

@@ -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)