Consolidate MaxWasmSize constraints into a single var (#826)

* Convert MaxWasmSize to var

Also removes redundant maxWasmSize param

* Convert MaxWasmSize to int

* Update CHANGELOG

* Complete max wasm size changes

* Update compile flags

Co-authored-by: Cole Brown <bigswim@gmail.com>
This commit is contained in:
Alexander Peters
2022-04-29 18:54:06 +02:00
committed by GitHub
parent 8ca55b78fc
commit bfb4d31fca
14 changed files with 85 additions and 176 deletions

View File

@@ -126,7 +126,6 @@ func TestCreateStoresInstantiatePermission(t *testing.T) {
keepers.WasmKeeper.SetParams(ctx, types.Params{
CodeUploadAccess: types.AllowEverybody,
InstantiateDefaultPermission: spec.srcPermission,
MaxWasmCodeSize: types.DefaultMaxWasmCodeSize,
})
fundAccounts(t, ctx, accKeeper, bankKeeper, myAddr, deposit)