VMConfig

Config of wasm operations. The fields from max_gas_burnt to max_total_log_length belong to the limit config. In the JSON view they are nested under the limit_config key of wasm_config.

ext_costs

type: [ExtCostsConfig] ExtCostsConfig

Costs for runtime externals

grow_mem_cost

`type: u32

Gas cost of a growing memory by single page.

regular_op_cost

`type: u32

Gas cost of a regular operation.

linear_op_base_cost

`type: u64

Base gas cost of a bulk memory/table operation.

linear_op_unit_cost

`type: u64

Gas cost per unit of a bulk memory/table operation.

max_gas_burnt

`type: Gas

Max amount of gas that can be used, excluding gas attached to promises.

max_stack_height

`type: u32

How tall the stack is allowed to grow?

initial_memory_pages

`type: u32

max_memory_pages

`type: u32

The initial number of memory pages. What is the maximal memory pages amount is allowed to have for a contract.

registers_memory_limit

`type: u64

Limit of memory used by registers.

max_register_size

`type: u64

Maximum number of bytes that can be stored in a single register.

max_number_registers

`type: u64

Maximum number of registers that can be used simultaneously.

max_number_logs

`type: u64

Maximum number of log entries.

max_total_log_length

type: u64

Maximum total length, in bytes, of all log messages emitted by one function call execution. The value is 16384.