Skip to content

Commit

Permalink
Merge pull request cosmos#550 from CosmWasm/increase-default-wasm-size
Browse files Browse the repository at this point in the history
Multiply default wasm size by 2
  • Loading branch information
alpe authored Jul 5, 2021
2 parents fe0ccf7 + 85b338a commit 273b57a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/wasm/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
// DefaultParamspace for params keeper
DefaultParamspace = ModuleName
// DefaultMaxWasmCodeSize limit max bytes read to prevent gzip bombs
DefaultMaxWasmCodeSize = 600 * 1024
DefaultMaxWasmCodeSize = 600 * 1024 * 2
)

var ParamStoreKeyUploadAccess = []byte("uploadAccess")
Expand Down
2 changes: 1 addition & 1 deletion x/wasm/types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestParamsUnmarshalJson(t *testing.T) {
"defaults": {
src: `{"code_upload_access": {"permission": "Everybody"},
"instantiate_default_permission": "Everybody",
"max_wasm_code_size": 614400}`,
"max_wasm_code_size": 1228800}`,
exp: DefaultParams(),
},
}
Expand Down

0 comments on commit 273b57a

Please sign in to comment.