From 996e0142bc38003d93938a0c317512d9b7b0876d Mon Sep 17 00:00:00 2001 From: FabijanC Date: Tue, 20 Aug 2024 09:15:56 +0200 Subject: [PATCH] Update to blockifier 0.8.0-rc.2 and cairo-vm 1.0.1 (#580) --- Cargo.lock | 50 +++++++++++++++++++++++++++++++++++--------------- Cargo.toml | 4 ++-- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f645cf46e..e3b666d89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -553,9 +553,9 @@ dependencies = [ [[package]] name = "blockifier" -version = "0.8.0-rc.1" +version = "0.8.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb87d3c5d71fe593c120cd73036d3982986596942e3c1a5dc81e2661f397cf4" +checksum = "9ee25790785713833ed52ecbf39032abfc59fbcc4440feb7062fcf33fb596423" dependencies = [ "anyhow", "ark-ec", @@ -578,6 +578,7 @@ dependencies = [ "num-rational", "num-traits 0.2.19", "once_cell", + "paste", "phf", "rand", "rstest", @@ -587,8 +588,8 @@ dependencies = [ "sha3", "starknet-types-core", "starknet_api", - "strum 0.24.1", - "strum_macros 0.24.3", + "strum 0.25.0", + "strum_macros 0.25.3", "thiserror", ] @@ -1133,9 +1134,9 @@ dependencies = [ [[package]] name = "cairo-lang-runner" -version = "2.7.0-rc.3" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ab7b0e0640adaed21b9d9b9b94b3edf7f7ab95514b1dd40c679317a33dabea" +checksum = "ef5bbbabd509ce88abc67436973d3377e099269dbd14578fa84fce884a74fa23" dependencies = [ "ark-ff", "ark-secp256k1", @@ -1147,7 +1148,7 @@ dependencies = [ "cairo-lang-sierra-generator 2.7.0", "cairo-lang-sierra-to-casm 2.7.0", "cairo-lang-sierra-type-size", - "cairo-lang-starknet 2.7.0-rc.3", + "cairo-lang-starknet 2.7.0", "cairo-lang-utils 2.7.0", "cairo-vm", "itertools 0.12.1", @@ -1469,9 +1470,9 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.7.0-rc.3" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81a54ebea4ea990a33a2158ecdf46ffb3cb1af8fff6a79c3dd310c6a9ed43e82" +checksum = "f242d889180386d35935597f9d1cac07d4f3d60bd0f10558660ae4a77da701b6" dependencies = [ "anyhow", "cairo-lang-compiler 2.7.0", @@ -1625,9 +1626,9 @@ dependencies = [ [[package]] name = "cairo-vm" -version = "1.0.0-rc5" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e09134ea1e0be6c1fbd330f0945df0512fa70944fd0b3ecc2f74a6008f01e9da" +checksum = "58363ad8065ed891e3b14a8191b707677c7c7cb5b9d10030822506786d8d8108" dependencies = [ "anyhow", "bincode", @@ -4281,9 +4282,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "path-clean" @@ -5939,9 +5940,9 @@ dependencies = [ [[package]] name = "starknet_api" -version = "0.13.0-rc.0" +version = "0.13.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a80f50db7439ceb65de759fcbadb1695c82aec82126b2313413632e40d4eec" +checksum = "1b505c9c076d9fce854304bd743c93ea540ebea6b16ec96819b07343a3aa2c7c" dependencies = [ "bitvec", "cairo-lang-starknet-classes", @@ -5998,6 +5999,12 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" + [[package]] name = "strum" version = "0.26.2" @@ -6020,6 +6027,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.70", +] + [[package]] name = "strum_macros" version = "0.26.2" diff --git a/Cargo.toml b/Cargo.toml index df59e85f9..13ecc7148 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,14 +71,14 @@ enum-helper-macros = "0.0.1" # Starknet dependencies starknet-types-core = "0.1.5" starknet_api = { version = "0.13.0-rc.0", features = ["testing"] } -blockifier = { version = "0.8.0-rc.1" } +blockifier = { version = "0.8.0-rc.2" } starknet-rs-signers = { version = "0.9.0", package = "starknet-signers" } starknet-rs-core = { version = "0.11.0", package = "starknet-core" } starknet-rs-providers = { version = "0.11.0", package = "starknet-providers" } starknet-rs-accounts = { version = "0.10.0", package = "starknet-accounts" } starknet-rs-contract = { version = "0.10.0", package = "starknet-contract" } starknet-rs-crypto = { version = "0.7.0", package = "starknet-crypto" } -cairo-vm = "=1.0.0-rc5" +cairo-vm = "=1.0.1" # Cairo-lang dependencies cairo-lang-starknet-classes = "=2.7.0"