Skip to content

Commit 48d0c0e

Browse files
release: bump compiler dep to 2.17 and repo to version = "0.18.0-rc.0" (#13471)
1 parent 1687c96 commit 48d0c0e

13 files changed

Lines changed: 245 additions & 257 deletions

File tree

Cargo.lock

Lines changed: 197 additions & 210 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ members = [
117117
]
118118

119119
[workspace.package]
120-
version = "0.18.0-dev.2"
120+
version = "0.18.0-rc.0"
121121
edition = "2021"
122122
repository = "https://github.com/starkware-libs/sequencer/"
123123
license = "Apache-2.0"
@@ -141,12 +141,12 @@ apollo_class_manager_types.path = "crates/apollo_class_manager_types"
141141
apollo_committer.path = "crates/apollo_committer"
142142
apollo_committer_config.path = "crates/apollo_committer_config"
143143
apollo_committer_types.path = "crates/apollo_committer_types"
144-
apollo_compilation_utils = { path = "crates/apollo_compilation_utils", version = "0.18.0-dev.2" }
144+
apollo_compilation_utils = { path = "crates/apollo_compilation_utils", version = "0.18.0-rc.0" }
145145
apollo_compile_to_casm.path = "crates/apollo_compile_to_casm"
146146
apollo_compile_to_casm_types.path = "crates/apollo_compile_to_casm_types"
147-
apollo_compile_to_native = { path = "crates/apollo_compile_to_native", version = "0.18.0-dev.2" }
148-
apollo_compile_to_native_types = { path = "crates/apollo_compile_to_native_types", version = "0.18.0-dev.2" }
149-
apollo_config = { path = "crates/apollo_config", version = "0.18.0-dev.2" }
147+
apollo_compile_to_native = { path = "crates/apollo_compile_to_native", version = "0.18.0-rc.0" }
148+
apollo_compile_to_native_types = { path = "crates/apollo_compile_to_native_types", version = "0.18.0-rc.0" }
149+
apollo_config = { path = "crates/apollo_config", version = "0.18.0-rc.0" }
150150
apollo_config_manager.path = "crates/apollo_config_manager"
151151
apollo_config_manager_config.path = "crates/apollo_config_manager_config"
152152
apollo_config_manager_types.path = "crates/apollo_config_manager_types"
@@ -164,7 +164,7 @@ apollo_gateway_types.path = "crates/apollo_gateway_types"
164164
apollo_http_server.path = "crates/apollo_http_server"
165165
apollo_http_server_config.path = "crates/apollo_http_server_config"
166166
apollo_infra.path = "crates/apollo_infra"
167-
apollo_infra_utils = { path = "crates/apollo_infra_utils", version = "0.18.0-dev.2" }
167+
apollo_infra_utils = { path = "crates/apollo_infra_utils", version = "0.18.0-rc.0" }
168168
apollo_integration_tests.path = "crates/apollo_integration_tests"
169169
apollo_l1_gas_price.path = "crates/apollo_l1_gas_price"
170170
apollo_l1_gas_price_provider_config.path = "crates/apollo_l1_gas_price_provider_config"
@@ -179,7 +179,7 @@ apollo_mempool_p2p.path = "crates/apollo_mempool_p2p"
179179
apollo_mempool_p2p_config.path = "crates/apollo_mempool_p2p_config"
180180
apollo_mempool_p2p_types.path = "crates/apollo_mempool_p2p_types"
181181
apollo_mempool_types.path = "crates/apollo_mempool_types"
182-
apollo_metrics = { path = "crates/apollo_metrics", version = "0.18.0-dev.2" }
182+
apollo_metrics = { path = "crates/apollo_metrics", version = "0.18.0-rc.0" }
183183
apollo_monitoring_endpoint.path = "crates/apollo_monitoring_endpoint"
184184
apollo_monitoring_endpoint_config.path = "crates/apollo_monitoring_endpoint_config"
185185
apollo_network.path = "crates/apollo_network"
@@ -189,7 +189,7 @@ apollo_node.path = "crates/apollo_node"
189189
apollo_node_config.path = "crates/apollo_node_config"
190190
apollo_p2p_sync.path = "crates/apollo_p2p_sync"
191191
apollo_p2p_sync_config.path = "crates/apollo_p2p_sync_config"
192-
apollo_proc_macros = { path = "crates/apollo_proc_macros", version = "0.18.0-dev.2" }
192+
apollo_proc_macros = { path = "crates/apollo_proc_macros", version = "0.18.0-rc.0" }
193193
apollo_proc_macros_tests.path = "crates/apollo_proc_macros_tests"
194194
apollo_proof_manager.path = "crates/apollo_proof_manager"
195195
apollo_proof_manager_config.path = "crates/apollo_proof_manager_config"
@@ -202,12 +202,12 @@ apollo_rpc_execution.path = "crates/apollo_rpc_execution"
202202
apollo_sierra_compilation_config.path = "crates/apollo_sierra_compilation_config"
203203
apollo_signature_manager.path = "crates/apollo_signature_manager"
204204
apollo_signature_manager_types.path = "crates/apollo_signature_manager_types"
205-
apollo_sizeof = { path = "crates/apollo_sizeof", version = "0.18.0-dev.2" }
206-
apollo_sizeof_macros = { path = "crates/apollo_sizeof_macros", version = "0.18.0-dev.2" }
205+
apollo_sizeof = { path = "crates/apollo_sizeof", version = "0.18.0-rc.0" }
206+
apollo_sizeof_macros = { path = "crates/apollo_sizeof_macros", version = "0.18.0-rc.0" }
207207
apollo_staking.path = "crates/apollo_staking"
208208
apollo_staking_config.path = "crates/apollo_staking_config"
209209
apollo_starknet_client.path = "crates/apollo_starknet_client"
210-
apollo_starknet_os_program = { path = "crates/apollo_starknet_os_program", version = "0.18.0-dev.2" }
210+
apollo_starknet_os_program = { path = "crates/apollo_starknet_os_program", version = "0.18.0-rc.0" }
211211
apollo_state_reader.path = "crates/apollo_state_reader"
212212
apollo_state_sync.path = "crates/apollo_state_sync"
213213
apollo_state_sync_config.path = "crates/apollo_state_sync_config"
@@ -216,7 +216,7 @@ apollo_state_sync_types.path = "crates/apollo_state_sync_types"
216216
apollo_storage.path = "crates/apollo_storage"
217217
apollo_task_executor.path = "crates/apollo_task_executor"
218218
apollo_test_utils.path = "crates/apollo_test_utils"
219-
apollo_time = { path = "crates/apollo_time", version = "0.18.0-dev.2" }
219+
apollo_time = { path = "crates/apollo_time", version = "0.18.0-rc.0" }
220220
apollo_transaction_converter.path = "crates/apollo_transaction_converter"
221221
ark-bls12-381 = "0.5.0"
222222
ark-ec = "0.5.0"
@@ -236,23 +236,23 @@ bench_tools.path = "crates/bench_tools"
236236
bincode = "1.3.3"
237237
bitvec = "1.0.1"
238238
blake2 = "0.10.6"
239-
blockifier = { path = "crates/blockifier", version = "0.18.0-dev.2" }
239+
blockifier = { path = "crates/blockifier", version = "0.18.0-rc.0" }
240240
blockifier_reexecution.path = "crates/blockifier_reexecution"
241-
blockifier_test_utils = { path = "crates/blockifier_test_utils", version = "0.18.0-dev.2" }
241+
blockifier_test_utils = { path = "crates/blockifier_test_utils", version = "0.18.0-rc.0" }
242242
byteorder = "1.4.3"
243243
bytes = "1"
244244
bzip2 = { version = "0.5.0", default-features = false }
245245
c-kzg = "2.1.5"
246246
cached = "0.44.0"
247247
cairo-air = "1.1.0"
248248
cairo-felt = "0.9.1"
249-
cairo-lang-casm = "2.16.0"
250-
cairo-lang-runner = "2.16.0"
251-
cairo-lang-sierra = "2.16.0"
252-
cairo-lang-sierra-to-casm = "2.16.0"
253-
cairo-lang-starknet-classes = "2.16.0"
254-
cairo-lang-utils = "2.16.0"
255-
cairo-native = "0.9.0-rc.2"
249+
cairo-lang-casm = "2.17.0-rc.4"
250+
cairo-lang-runner = "2.17.0-rc.4"
251+
cairo-lang-sierra = "2.17.0-rc.4"
252+
cairo-lang-sierra-to-casm = "2.17.0-rc.4"
253+
cairo-lang-starknet-classes = "2.17.0-rc.4"
254+
cairo-lang-utils = "2.17.0-rc.4"
255+
cairo-native = "0.9.0-rc.4"
256256
cairo-program-runner-lib = "1.1.0"
257257
cairo-vm = "3.2.0"
258258
camelpaste = "0.1.0"
@@ -324,8 +324,8 @@ paste = "1.0.15"
324324
phf = "0.11"
325325
pretty_assertions = "1.4.0"
326326
primitive-types = "0.12.1"
327-
privacy-circuit-verify = { git = "https://github.com/starkware-libs/proving-utils", rev = "dbc39e745d23424f1997ce3505ce5f83805cefde" }
328-
privacy-prove = { git = "https://github.com/starkware-libs/proving-utils", rev = "dbc39e745d23424f1997ce3505ce5f83805cefde" }
327+
privacy-circuit-verify = { git = "https://github.com/starkware-libs/proving-utils", rev = "0305dbe" }
328+
privacy-prove = { git = "https://github.com/starkware-libs/proving-utils", rev = "0305dbe" }
329329
proc-macro2 = "1.0"
330330
prometheus-parse = "0.2.4"
331331
prost = "0.12.1"
@@ -367,15 +367,15 @@ starknet-ff = "0.3.7"
367367
starknet-rust = "0.17.0"
368368
starknet-rust-core = "0.16.0"
369369
starknet-types-core = "0.2.4"
370-
starknet_api = { path = "crates/starknet_api", version = "0.18.0-dev.2" }
370+
starknet_api = { path = "crates/starknet_api", version = "0.18.0-rc.0" }
371371
starknet_committer.path = "crates/starknet_committer"
372372
starknet_committer_and_os_cli.path = "crates/starknet_committer_and_os_cli"
373373
starknet_committer_cli.path = "crates/starknet_committer_cli"
374374
starknet_os.path = "crates/starknet_os"
375375
starknet_os_flow_tests.path = "crates/starknet_os_flow_tests"
376376
starknet_patricia.path = "crates/starknet_patricia"
377377
starknet_patricia_storage.path = "crates/starknet_patricia_storage"
378-
starknet_proof_verifier = { path = "crates/starknet_proof_verifier", version = "0.18.0-dev.2" }
378+
starknet_proof_verifier = { path = "crates/starknet_proof_verifier", version = "0.18.0-rc.0" }
379379
starknet_transaction_prover.path = "crates/starknet_transaction_prover"
380380
static_assertions = "1.1.0"
381381
strum = "0.27.2"

crates/apollo_compile_to_casm/src/allowed_libfuncs.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@
117117
"get_class_hash_at_syscall": null,
118118
"get_execution_info_syscall": null,
119119
"get_execution_info_v2_syscall": null,
120-
"get_execution_info_v3_syscall": null,
120+
"get_execution_info_v3_syscall": {
121+
"major": 1,
122+
"minor": 8,
123+
"patch": 0
124+
},
121125
"hades_permutation": null,
122126
"i128_const": null,
123127
"i128_diff": null,

crates/apollo_compile_to_casm/src/compile_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const SIERRA_COMPILATION_CONFIG: SierraCompilationConfig = SierraCompilationConf
3535

3636
// Libfuncs in allowed_libfuncs.json but not yet in Cairo's audited list.
3737
// Remove entries once they're added to the audited list.
38-
const PENDING_LIBFUNCS: &[&str] = &["get_execution_info_v3_syscall"];
38+
const PENDING_LIBFUNCS: &[&str] = &[];
3939

4040
fn compiler() -> SierraToCasmCompiler {
4141
SierraToCasmCompiler::new(SIERRA_COMPILATION_CONFIG)

crates/apollo_compile_to_casm_types/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn test_size_of_serialized() {
2424
fn compact_serialization() {
2525
const EXPECTED: &str = "{\"V1\":[{\"bytecode\":[\"0x1\",\"0x1\",\"0x1\"],\"compiler_version\":\
2626
\"\",\"entry_points_by_type\":{\"CONSTRUCTOR\":[],\"EXTERNAL\":[],\"\
27-
L1_HANDLER\":[]},\"hints\":[],\"prime\":\"0x0\"},\"1.7.0\"]}";
27+
L1_HANDLER\":[]},\"hints\":[],\"prime\":\"0x0\"},\"1.8.0\"]}";
2828
let raw_executable_class = RawExecutableClass::test_casm_contract_class();
2929
let serialized = serde_json::to_string(&raw_executable_class.0).unwrap();
3030

crates/apollo_compile_to_native/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
pub(crate) const CAIRO_NATIVE_BINARY_NAME: &str = "starknet-native-compile";
66

7-
pub const REQUIRED_CAIRO_NATIVE_VERSION: &str = "0.9.0-rc.2";
7+
pub const REQUIRED_CAIRO_NATIVE_VERSION: &str = "0.9.0-rc.4";

crates/apollo_infra_utils/src/cairo_compiler_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#[path = "cairo_compiler_version_test.rs"]
33
mod cairo_compiler_version_test;
44

5-
pub const CAIRO1_COMPILER_VERSION: &str = "2.16.0";
5+
pub const CAIRO1_COMPILER_VERSION: &str = "2.17.0-rc.4";

crates/blockifier/src/bouncer_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,11 +804,11 @@ fn class_hash_migration_data_from_state(
804804

805805
if should_migrate {
806806
expect![[r#"
807-
111243605
807+
111245775
808808
"#]]
809809
.assert_debug_eq(&migration_sierra_gas.0);
810810
expect![[r#"
811-
269415472
811+
269417662
812812
"#]]
813813
.assert_debug_eq(&migration_proving_gas.0);
814814
} else {

crates/blockifier_test_utils/src/contracts.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,6 @@ impl FeatureContract {
432432
Self::Experimental => {
433433
LibfuncArg::ListFile("./resources/experimental_libfuncs.json".to_string())
434434
}
435-
// TODO(AvivG): Remove once the compiler outputs Sierra ≥1.8.0.
436-
Self::TestContract(_) => LibfuncArg::ListName("all".to_string()),
437-
438435
Self::LegacyTestContract | Self::CairoStepsTestContract => {
439436
LibfuncArg::ListFile(allowed_libfuncs_legacy_json_path())
440437
}

crates/starknet_api/src/contract_class/structs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl SierraVersion {
7878
/// Version of deprecated contract class (Cairo 0).
7979
pub const DEPRECATED: Self = Self(Version::new(0, 0, 0));
8080

81-
pub const LATEST: Self = Self(Version::new(1, 7, 0));
81+
pub const LATEST: Self = Self(Version::new(1, 8, 0));
8282

8383
pub fn new(major: u64, minor: u64, patch: u64) -> Self {
8484
Self(Version::new(major, minor, patch))

0 commit comments

Comments
 (0)