Skip to content

Commit

Permalink
Update blockifier to 0.8.0-rc.3 (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirugan authored Sep 3, 2024
1 parent cb350df commit 1862240
Show file tree
Hide file tree
Showing 6 changed files with 618 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vm/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
serde = "1.0.208"
serde_json = { version = "1.0.125", features = ["raw_value"] }
blockifier = "0.8.0-rc.2"
blockifier = "0.8.0-rc.3"
starknet_api = "0.13.0-rc.1"
cairo-vm = "=1.0.1"
starknet-types-core = { version = "0.1.5", features = ["hash", "prime-bigint"] }
Expand Down
6 changes: 6 additions & 0 deletions vm/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@ lazy_static! {
"0.13.1.1".to_string(),
serde_json::from_slice(include_bytes!("../versioned_constants_13_1_1.json")).unwrap(),
);
m.insert(
"0.13.2".to_string(),
serde_json::from_slice(include_bytes!("../versioned_constants_13_2.json")).unwrap(),
);
m
};
}
Expand All @@ -555,6 +559,8 @@ fn get_versioned_constants(version: *const c_char) -> VersionedConstants {
CONSTANTS.get(&"0.13.1".to_string()).unwrap().to_owned()
} else if version < StarknetVersion::from_str("0.13.2").unwrap() {
CONSTANTS.get(&"0.13.1.1".to_string()).unwrap().to_owned()
} else if version < StarknetVersion::from_str("0.13.2.1").unwrap() {
CONSTANTS.get(&"0.13.2".to_string()).unwrap().to_owned()
} else {
VersionedConstants::latest_constants().to_owned()
}
Expand Down
1 change: 1 addition & 0 deletions vm/rust/versioned_constants_13_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"invoke_tx_max_n_steps": 3000000,
"max_recursion_depth": 50,
"segment_arena_cells": true,
"os_constants": {
"nop_entry_point_offset": -1,
"entry_point_type_external": 0,
Expand Down
1 change: 1 addition & 0 deletions vm/rust/versioned_constants_13_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
]
},
"max_recursion_depth": 50,
"segment_arena_cells": true,
"os_constants": {
"nop_entry_point_offset": -1,
"entry_point_type_external": 0,
Expand Down
1 change: 1 addition & 0 deletions vm/rust/versioned_constants_13_1_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
]
},
"max_recursion_depth": 50,
"segment_arena_cells": true,
"os_constants": {
"nop_entry_point_offset": -1,
"entry_point_type_external": 0,
Expand Down
Loading

0 comments on commit 1862240

Please sign in to comment.