File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ import (
6
6
7
7
// VMConfig defines the configuration for the VM.
8
8
// For full documentation see the Rust side:
9
- // https://github.com/CosmWasm/ cosmwasm/blob/main/packages/ vm/src/config.rs#L27
9
+ // https://docs.rs/ cosmwasm- vm/2.2.0-rc.1/cosmwasm_vm/struct.Config.html
10
10
type VMConfig struct {
11
11
WasmLimits WasmLimits `json:"wasm_limits"`
12
12
Cache CacheOptions `json:"cache"`
13
13
}
14
14
15
+ // WasmLimits defines limits for static validation of wasm code that is stored on chain.
16
+ // For full documentation see the Rust side:
17
+ // https://docs.rs/cosmwasm-vm/2.2.0-rc.1/cosmwasm_vm/struct.WasmLimits.html
15
18
type WasmLimits struct {
16
19
InitialMemoryLimit * uint32 `json:"initial_memory_limit,omitempty"`
17
20
TableSizeLimit * uint32 `json:"table_size_limit,omitempty"`
You can’t perform that action at this time.
0 commit comments