Skip to content

Commit 1862240

Browse files
authored
Update blockifier to 0.8.0-rc.3 (#2116)
1 parent cb350df commit 1862240

6 files changed

+618
-1
lines changed

vm/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
[dependencies]
99
serde = "1.0.208"
1010
serde_json = { version = "1.0.125", features = ["raw_value"] }
11-
blockifier = "0.8.0-rc.2"
11+
blockifier = "0.8.0-rc.3"
1212
starknet_api = "0.13.0-rc.1"
1313
cairo-vm = "=1.0.1"
1414
starknet-types-core = { version = "0.1.5", features = ["hash", "prime-bigint"] }

vm/rust/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ lazy_static! {
532532
"0.13.1.1".to_string(),
533533
serde_json::from_slice(include_bytes!("../versioned_constants_13_1_1.json")).unwrap(),
534534
);
535+
m.insert(
536+
"0.13.2".to_string(),
537+
serde_json::from_slice(include_bytes!("../versioned_constants_13_2.json")).unwrap(),
538+
);
535539
m
536540
};
537541
}
@@ -555,6 +559,8 @@ fn get_versioned_constants(version: *const c_char) -> VersionedConstants {
555559
CONSTANTS.get(&"0.13.1".to_string()).unwrap().to_owned()
556560
} else if version < StarknetVersion::from_str("0.13.2").unwrap() {
557561
CONSTANTS.get(&"0.13.1.1".to_string()).unwrap().to_owned()
562+
} else if version < StarknetVersion::from_str("0.13.2.1").unwrap() {
563+
CONSTANTS.get(&"0.13.2".to_string()).unwrap().to_owned()
558564
} else {
559565
VersionedConstants::latest_constants().to_owned()
560566
}

vm/rust/versioned_constants_13_0.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"invoke_tx_max_n_steps": 3000000,
77
"max_recursion_depth": 50,
8+
"segment_arena_cells": true,
89
"os_constants": {
910
"nop_entry_point_offset": -1,
1011
"entry_point_type_external": 0,

vm/rust/versioned_constants_13_1.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
]
2525
},
2626
"max_recursion_depth": 50,
27+
"segment_arena_cells": true,
2728
"os_constants": {
2829
"nop_entry_point_offset": -1,
2930
"entry_point_type_external": 0,

vm/rust/versioned_constants_13_1_1.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
]
2525
},
2626
"max_recursion_depth": 50,
27+
"segment_arena_cells": true,
2728
"os_constants": {
2829
"nop_entry_point_offset": -1,
2930
"entry_point_type_external": 0,

0 commit comments

Comments
 (0)