Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump wasmer #8323

Closed
wants to merge 104 commits into from
Closed
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
a3363f0
bump wasmer to a version with finite-wasm enabled
invalid-email-address Nov 25, 2022
4d565dd
remove pwasm-utils-based instrumentation
Ekleog-NEAR Jan 4, 2023
aba0e65
make VMLogic API consistent
Ekleog-NEAR Jan 6, 2023
94466cd
fix deprecation warnings from chrono, replacing with previous impl
Ekleog-NEAR Jan 6, 2023
442cc00
update the expect strings, disable testing for wasmer0/wasmtime that …
Ekleog-NEAR Jan 6, 2023
fdceb8b
fix gas amounts
Ekleog-NEAR Jan 9, 2023
92f8711
make tests pass
Ekleog-NEAR Jan 10, 2023
0721823
make a protocol change for the wasmer bump
Ekleog-NEAR Jan 17, 2023
8e4317e
adjust to latest wasmer
Ekleog-NEAR Feb 2, 2023
917b870
cargo fmt
Ekleog-NEAR Feb 2, 2023
4ca05b7
Bump wasmer to latest near-main
Ekleog-NEAR Feb 10, 2023
28e6690
vendor wasmer into nearcore
Ekleog-NEAR Feb 10, 2023
091220a
wip
Ekleog-NEAR Feb 10, 2023
4f7772e
Remove things that have no reason to stay now near-vm is vendored in …
Ekleog-NEAR Feb 15, 2023
773695f
Merge the two workspaces
Ekleog-NEAR Feb 15, 2023
58b6672
Fix tests building
Ekleog-NEAR Feb 15, 2023
5699dfd
Set stack limit properly
Ekleog-NEAR Feb 15, 2023
33bf680
Investigate test failure
Ekleog-NEAR Feb 15, 2023
031908f
Fix integration tests
Ekleog-NEAR Feb 15, 2023
904bfd7
cargo fmt
Ekleog-NEAR Feb 15, 2023
3d686eb
Implement proper stack frame size accounting
Ekleog-NEAR Feb 15, 2023
1fd914f
Fix sanity check now that we have proper instrumentation
Ekleog-NEAR Feb 15, 2023
0235e30
Also accept cargo-insta snapshot changes to gas costs
Ekleog-NEAR Feb 15, 2023
bb6b607
Accept more insta snapshot changes
Ekleog-NEAR Feb 15, 2023
2a2374b
Set max stack size to twice what it was with pwasm-utils; fix the las…
Ekleog-NEAR Feb 17, 2023
229afe2
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Feb 21, 2023
b9fde88
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 7, 2023
e9aee79
prepare: split out preparation code into separate files
nagisa Jan 31, 2023
5912044
fix tests
Ekleog-NEAR Mar 8, 2023
93b5811
deps: add dependency on finite-wasm, upgrade wasmtime
nagisa Feb 2, 2023
22c609c
prepare: add skeleton for v2 preparation code
nagisa Feb 3, 2023
651f7d6
prepare_v2: skeleton for the preparation code
nagisa Feb 3, 2023
e56a050
fix build
Ekleog-NEAR Mar 8, 2023
acfc3af
fix tests
Ekleog-NEAR Mar 8, 2023
a353762
fixup needed changes, near-vm-runner tests pass
Ekleog-NEAR Mar 9, 2023
13b987c
wip
Ekleog-NEAR Mar 10, 2023
6e88603
fix some more tests
Ekleog-NEAR Mar 13, 2023
2510451
rename wasmer-* crates into near-vm-* crates for near-vm
Ekleog-NEAR Mar 13, 2023
b59ef06
take finite-wasm from workspace for near-vm
Ekleog-NEAR Mar 13, 2023
4291ee9
implement the missing finite-wasm functions for non-near-vm
Ekleog-NEAR Mar 16, 2023
905e667
handle nagisa’s review comments
Ekleog-NEAR Mar 16, 2023
0dbdfa3
re-enable all tests and fix all remaining test failures
Ekleog-NEAR Mar 17, 2023
f737c36
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 17, 2023
468be11
stop requiring finite-wasm#42
Ekleog-NEAR Mar 20, 2023
67f276f
handle review comments
Ekleog-NEAR Mar 20, 2023
d8e374e
ignore unused argument
Ekleog-NEAR Mar 20, 2023
670efc6
introduce fuzzers for v2 prep
Ekleog-NEAR Mar 21, 2023
bcc0dc4
fix ci build
Ekleog-NEAR Mar 21, 2023
819d52e
remove tests that no longer make sense now the gas intrinsic is a no-op
Ekleog-NEAR Mar 21, 2023
ebef7bc
fix expect tests from ci
Ekleog-NEAR Mar 21, 2023
3deda8b
fix sanity checks
Ekleog-NEAR Mar 23, 2023
b0aed9a
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 24, 2023
b2c3f01
do not publish near-vm crates
Ekleog-NEAR Mar 24, 2023
d862138
fix sanity checks
Ekleog-NEAR Mar 24, 2023
7b735d4
remove versions from path-local dependencies
Ekleog-NEAR Mar 24, 2023
4b03a0c
bump bolero in near-vm
Ekleog-NEAR Mar 24, 2023
3309152
use a recent wasm-smith for near-vm’s fuzzer
Ekleog-NEAR Mar 24, 2023
61e5fd5
use a recent wast in near-vm’s tests
Ekleog-NEAR Mar 24, 2023
81a5efd
update cargo.lock
Ekleog-NEAR Mar 24, 2023
8d9d234
remove core feature of near-vm-types
Ekleog-NEAR Mar 24, 2023
4b3cf10
ignore wasm-encoder duplication
Ekleog-NEAR Mar 24, 2023
08d511f
fix cargo deny
Ekleog-NEAR Mar 24, 2023
c8c4abc
remove no-longer-existing pay_wasm_gas function call
Ekleog-NEAR Mar 24, 2023
b415228
remove core feature of near-vm-compiler
Ekleog-NEAR Mar 24, 2023
dd0fe86
remove core feature of compiler-singlepass
Ekleog-NEAR Mar 24, 2023
f448c78
remove the fuzzers for now
Ekleog-NEAR Mar 24, 2023
8d0864c
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 24, 2023
1e1c439
fix clippy lints
Ekleog-NEAR Mar 24, 2023
b07d3c5
cargo fmt
Ekleog-NEAR Mar 24, 2023
73c353b
fix clippy lints
Ekleog-NEAR Mar 24, 2023
0004936
accept cargo insta change
Ekleog-NEAR Mar 24, 2023
ad68f92
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 28, 2023
547f9a3
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 29, 2023
ab84b5d
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 29, 2023
67ebaad
fix merge conflict mishap
Ekleog-NEAR Mar 29, 2023
0a707ae
adjust to change in InstanceConfig api
Ekleog-NEAR Mar 29, 2023
b492ee9
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 30, 2023
f3f0752
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 30, 2023
d56259c
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 31, 2023
6f16b55
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Mar 31, 2023
7ada83f
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 3, 2023
91d699b
remove meaningless changes
Ekleog-NEAR Apr 3, 2023
3ca03fc
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 3, 2023
6ca0360
remove duplicate deps
Ekleog-NEAR Apr 3, 2023
b95e453
fix dep definition
Ekleog-NEAR Apr 3, 2023
6e11257
remove duplicate test introduced by merge
Ekleog-NEAR Apr 4, 2023
cc27981
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 4, 2023
a1dae61
remove no-longer-needed snaps
Ekleog-NEAR Apr 4, 2023
8532791
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 5, 2023
7fbb029
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 5, 2023
42f3c74
fix merge mistake
Ekleog-NEAR Apr 5, 2023
e6e8db5
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 6, 2023
7565f25
also test near-vm as soon as protocol upgrade is done
Ekleog-NEAR Apr 7, 2023
02476a2
fix merge conflict
Ekleog-NEAR Apr 7, 2023
da17009
discard pointless failing test
Ekleog-NEAR Apr 7, 2023
bc33889
fix build
Ekleog-NEAR Apr 7, 2023
d743026
run near-vm in with_vm_variants
Ekleog-NEAR Apr 7, 2023
5ce42b9
fix typo
Ekleog-NEAR Apr 10, 2023
db17b59
fix test
Ekleog-NEAR Apr 10, 2023
111ef0b
add some traces
Ekleog-NEAR Apr 10, 2023
ceed403
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 13, 2023
1637628
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 13, 2023
b0cf7a3
Merge remote-tracking branch 'upstream/master' into wasmer-bump
Ekleog-NEAR Apr 25, 2023
e133a46
fix merge mistake
Ekleog-NEAR Apr 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
710 changes: 588 additions & 122 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ members = [
"integration-tests",
"nearcore",
"neard",
"runtime/near-vm/lib/api",
"runtime/near-vm/lib/compiler",
"runtime/near-vm/lib/compiler-singlepass",
"runtime/near-vm/lib/engine",
"runtime/near-vm/lib/engine-universal",
"runtime/near-vm/lib/vm",
"runtime/near-vm/lib/types",
"runtime/near-vm/tests/lib/wast",
"runtime/near-vm/tests/lib/compiler-test-derive",
"runtime/near-vm/fuzz",
"runtime/near-vm-logic",
"runtime/near-vm-runner",
"runtime/near-vm-runner/fuzz",
Expand Down Expand Up @@ -114,6 +124,7 @@ ed25519-dalek = "1"
elastic-array = "0.11"
enum-map = "2.1.0"
expect-test = "1.3.0"
finite-wasm = { version = "0.3.0", features = ["instrument"] }
flate2 = "1.0.22"
fs2 = "0.4"
futures = "0.3.5"
Expand Down Expand Up @@ -150,6 +161,7 @@ parity-wasm = { version = "0.42", default-features = false }
parity-wasm_41 = { package = "parity-wasm", version = "0.41" }
parking_lot = "0.12.1"
pin-project = "1.0"
prefix-sum-vec = "0.1.2"
pretty_assertions = "1.2"
primitive-types = { version = "0.10", default-features = false }
prometheus = "0.13.1"
Expand Down Expand Up @@ -206,10 +218,10 @@ turn = "0.6"
validator = "0.12"
rkyv = { version = "0.7", features = ["strict"] }
wasm-encoder = "0.11.0"
wasm-smith = "0.10"
wasmparser = "0.78"
wasm-smith = "0.12"
wasmparser = "0.99.0"
wasmprinter = "0.2"
wasmtime = { version = "4.0.0", default-features = false, features = ["cranelift"] }
wasmtime = { version = "5.0.0", default-features = false, features = ["cranelift"] }
wat = "1.0.40"
webrtc-util = "0.7"
xshell = "0.2.1"
Expand Down
4 changes: 2 additions & 2 deletions chain/chain/src/tests/simple_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn build_chain() {
if cfg!(feature = "nightly") {
insta::assert_display_snapshot!(hash, @"7f7HTgxYS9NbF61kqqQSD4ivtPj7hCReXqyMMqiUfMZq");
} else {
insta::assert_display_snapshot!(hash, @"HC1942JdWWxiJb8zm5VyepB7iysDbBq8MfnZC7aSq7mK");
insta::assert_display_snapshot!(hash, @"3fK7Uu3HC9y9DPMsDNaAP8sv56UCK2ZV1txRhTriF9qb");
}

for i in 1..5 {
Expand Down Expand Up @@ -75,7 +75,7 @@ fn build_chain() {
if cfg!(feature = "nightly") {
insta::assert_display_snapshot!(hash, @"5GXKgTvpLBcSDncu3P8tdmFZ48m89rzUivJEtDTjp6oq");
} else {
insta::assert_display_snapshot!(hash, @"8L1cHCc7Cx9SRPWpVtjPtEzQWamztMoHE3cxAcZtHTKv");
insta::assert_display_snapshot!(hash, @"7hQ4bvvu2TmgFVhELFThZPHFoBPwa74VT6D8uk79xPzB");
}
}

Expand Down
3 changes: 3 additions & 0 deletions chain/client/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1691,6 +1691,8 @@ impl TestEnv {
self.clients[id].process_tx(tx, false, false)
}

/// This function will actually bump to the latest protocol version instead of the provided one.
/// See https://github.com/near/nearcore/issues/8590 for details.
pub fn upgrade_protocol(&mut self, protocol_version: ProtocolVersion) {
assert_eq!(self.clients.len(), 1, "at the moment, this support only a single client");

Expand All @@ -1703,6 +1705,7 @@ impl TestEnv {
self.clients[0].runtime_adapter.get_block_producer(&epoch_id, tip.height).unwrap();

let mut block = self.clients[0].produce_block(tip.height + 1).unwrap().unwrap();
eprintln!("Producing block with version {protocol_version}");
block.mut_header().set_latest_protocol_version(protocol_version);
block.mut_header().resign(&create_test_signer(block_producer.as_str()));

Expand Down
2 changes: 1 addition & 1 deletion chain/jsonrpc/jsonrpc-tests/res/genesis_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"protocol_version": 59,
"protocol_version": 60,
"genesis_time": "1970-01-01T00:00:00.000000000Z",
"chain_id": "sample",
"genesis_height": 0,
Expand Down
37 changes: 21 additions & 16 deletions core/primitives-core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@ pub struct VMLimitConfig {

/// How tall the stack is allowed to grow?
///
/// See <https://wiki.parity.io/WebAssembly-StackHeight> to find out
/// how the stack frame cost is calculated.
/// See <https://wiki.parity.io/WebAssembly-StackHeight> to find out how the stack frame cost
/// is calculated.
pub max_stack_height: u32,
/// Whether a legacy version of stack limiting should be used, see
/// [`StackLimiterVersion`].
#[serde(default = "StackLimiterVersion::v0")]
pub stack_limiter_version: StackLimiterVersion,
/// Whether a legacy version of stack limiting should be used, see [`ContractPrepareVersion`].
#[serde(default = "ContractPrepareVersion::v0")]
pub contract_prepare_version: ContractPrepareVersion,

/// The initial number of memory pages.
///
/// NOTE: It's not a limiter itself, but it's a value we use for initial_memory_pages.
pub initial_memory_pages: u32,
/// What is the maximal memory pages amount is allowed to have for
/// a contract.
/// What is the maximal memory pages amount is allowed to have for a contract.
pub max_memory_pages: u32,

/// Limit of memory used by registers.
Expand Down Expand Up @@ -131,16 +130,22 @@ fn wasmer2_stack_limit_default() -> i32 {
serde_repr::Deserialize_repr,
)]
#[repr(u8)]
pub enum StackLimiterVersion {
/// Old, buggy version, don't use it unless specifically to support old protocol version.
pub enum ContractPrepareVersion {
/// Oldest, buggiest version.
///
/// Don't use it unless specifically to support old protocol version.
V0,
/// What we use in today's protocol.
/// Old, slow and buggy version.
///
/// Better than V0, but don’t use this nevertheless.
V1,
/// finite-wasm 0.3.0 based contract preparation code.
V2,
}

impl StackLimiterVersion {
pub fn v0() -> StackLimiterVersion {
StackLimiterVersion::V0
impl ContractPrepareVersion {
pub fn v0() -> ContractPrepareVersion {
ContractPrepareVersion::V0
}
}

Expand Down Expand Up @@ -205,8 +210,8 @@ impl VMLimitConfig {

// NOTE: Stack height has to be 16K, otherwise Wasmer produces non-deterministic results.
// For experimentation try `test_stack_overflow`.
max_stack_height: 16 * 1024, // 16Kib of stack.
stack_limiter_version: StackLimiterVersion::V1,
max_stack_height: 256 * 1024, // 256kiB of stack.
contract_prepare_version: ContractPrepareVersion::V2,
initial_memory_pages: 2u32.pow(10), // 64Mib of memory.
max_memory_pages: 2u32.pow(11), // 128Mib of memory.

Expand Down
4 changes: 2 additions & 2 deletions core/primitives-core/src/parameter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub enum Parameter {
MaxGasBurnt,
MaxGasBurntView,
MaxStackHeight,
StackLimiterVersion,
ContractPrepareVersion,
InitialMemoryPages,
MaxMemoryPages,
RegistersMemoryLimit,
Expand Down Expand Up @@ -186,7 +186,7 @@ impl Parameter {
[
Parameter::MaxGasBurnt,
Parameter::MaxStackHeight,
Parameter::StackLimiterVersion,
Parameter::ContractPrepareVersion,
Parameter::InitialMemoryPages,
Parameter::MaxMemoryPages,
Parameter::RegistersMemoryLimit,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/runtime_configs/50.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stack_limiter_version: { old: 0, new: 1 }
contract_prepare_version: { old: 0, new: 1 }
1 change: 1 addition & 0 deletions core/primitives/res/runtime_configs/60.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_stack_height: { old: 16384, new: 262144 }
4 changes: 2 additions & 2 deletions core/primitives/res/runtime_configs/parameters.snap
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ wasm_alt_bn128_g1_sum_base 3_000_000_000
wasm_alt_bn128_g1_sum_element 5_000_000_000
max_gas_burnt 300_000_000_000_000
max_gas_burnt_view 300_000_000_000_000
max_stack_height 16_384
stack_limiter_version 1
max_stack_height 262_144
contract_prepare_version 1
initial_memory_pages 1_024
max_memory_pages 2_048
registers_memory_limit 1_073_741_824
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/runtime_configs/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ wasm_alt_bn128_g1_sum_element: 5_000_000_000
max_gas_burnt: 200_000_000_000_000
max_gas_burnt_view: 200_000_000_000_000
max_stack_height: 16_384
stack_limiter_version: 0
contract_prepare_version: 0
initial_memory_pages: 1_024
max_memory_pages: 2_048
registers_memory_limit: 1_073_741_824
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ wasm_alt_bn128_g1_sum_element: 76_218_543
max_gas_burnt: 200_000_000_000_000
max_gas_burnt_view: 200_000_000_000_000
max_stack_height: 16_384
stack_limiter_version: 0
contract_prepare_version: 0
initial_memory_pages: 1_024
max_memory_pages: 2_048
registers_memory_limit: 1_073_741_824
Expand Down
1 change: 1 addition & 0 deletions core/primitives/src/runtime/config_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ static CONFIG_DIFFS: &[(ProtocolVersion, &str)] = &[
(57, include_config!("57.yaml")),
// Introduce Zero Balance Account and increase account creation cost to 7.7Tgas
(59, include_config!("59.yaml")),
(60, include_config!("60.yaml")),
];

/// Testnet parameters for versions <= 29, which (incorrectly) differed from mainnet parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 200000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 0,
"contract_prepare_version": 0,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 200000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 0,
"contract_prepare_version": 0,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 200000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 0,
"contract_prepare_version": 0,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 200000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 0,
"contract_prepare_version": 0,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 200000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 1,
"contract_prepare_version": 1,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 300000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 1,
"contract_prepare_version": 1,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 300000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 1,
"contract_prepare_version": 1,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ expression: config_view
"limit_config": {
"max_gas_burnt": 300000000000000,
"max_stack_height": 16384,
"stack_limiter_version": 1,
"contract_prepare_version": 1,
"initial_memory_pages": 1024,
"max_memory_pages": 2048,
"registers_memory_limit": 1073741824,
Expand Down
Loading