From dc9e771da2fa25143f3600987d441ed4dc92a45b Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Wed, 4 Sep 2024 18:42:29 +0200 Subject: [PATCH 1/2] Chore: bump Blockifier to 0.8.0-rc.3 --- Cargo.toml | 4 ++-- crates/bin/prove_block/src/rpc_utils.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f8dad3b90..5ee08e10a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ assert_matches = "1.5.0" base64 = "0.21.3" bitvec = { version = "1.0.1", features = ["serde"] } # Point to the latest commit of branch msl/snos-0.6.0-rc.2 -blockifier = { git = "https://github.com/Moonsong-Labs/sequencer", rev = "01b97d9354faefa5f0cd520b5efbe73178213f7e", features = ["testing"] } +blockifier = { git = "https://github.com/Moonsong-Labs/sequencer", rev = "6624e910c57db9a16f1607c1ed26f7d8f1114e73", features = ["testing"] } cairo-lang-starknet = { version = "=2.7.1" } cairo-lang-starknet-classes = { version = "=2.7.1" } cairo-lang-utils = { version = "=2.7.1" } @@ -62,7 +62,7 @@ serde_json = { version = "1.0.105", features = ["arbitrary_precision"] } serde_with = "3.3.0" serde_yaml = "0.9.25" starknet = "0.11.0" -starknet_api = { git = "https://github.com/Moonsong-Labs/sequencer", rev = "01b97d9354faefa5f0cd520b5efbe73178213f7e", features = ["testing"] } +starknet_api = { git = "https://github.com/Moonsong-Labs/sequencer", rev = "6624e910c57db9a16f1607c1ed26f7d8f1114e73", features = ["testing"] } starknet-core = "0.11.1" starknet-crypto = "0.6.2" starknet-os = { path = "crates/starknet-os" } diff --git a/crates/bin/prove_block/src/rpc_utils.rs b/crates/bin/prove_block/src/rpc_utils.rs index 025c8da82..21028d783 100644 --- a/crates/bin/prove_block/src/rpc_utils.rs +++ b/crates/bin/prove_block/src/rpc_utils.rs @@ -412,7 +412,8 @@ pub(crate) fn get_starknet_version(block_with_txs: &BlockWithTxs) -> blockifier: "0.13.0" => blockifier::versioned_constants::StarknetVersion::V0_13_0, "0.13.1" => blockifier::versioned_constants::StarknetVersion::V0_13_1, "0.13.1.1" => blockifier::versioned_constants::StarknetVersion::V0_13_1_1, - "0.13.2" => blockifier::versioned_constants::StarknetVersion::Latest, + "0.13.2" => blockifier::versioned_constants::StarknetVersion::V0_13_2, + "0.13.2.1" => blockifier::versioned_constants::StarknetVersion::Latest, other => { unimplemented!("Unsupported Starknet version: {}", other) } From d3e5f758ce1c491b7a5ef84e43e6cc28bfab9490 Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Wed, 4 Sep 2024 22:41:57 +0200 Subject: [PATCH 2/2] fix doc --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5ee08e10a..c813acdd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ ark-secp256r1 = "0.4" assert_matches = "1.5.0" base64 = "0.21.3" bitvec = { version = "1.0.1", features = ["serde"] } -# Point to the latest commit of branch msl/snos-0.6.0-rc.2 +# Point to the latest commit of branch msl/backport-secp-patches-0.8.0-rc.3 blockifier = { git = "https://github.com/Moonsong-Labs/sequencer", rev = "6624e910c57db9a16f1607c1ed26f7d8f1114e73", features = ["testing"] } cairo-lang-starknet = { version = "=2.7.1" } cairo-lang-starknet-classes = { version = "=2.7.1" }