From 09c01c28f22cead450fd7755de7da433802e7831 Mon Sep 17 00:00:00 2001 From: FrancoGiachetta Date: Mon, 2 Dec 2024 15:53:28 -0300 Subject: [PATCH] clippy --- Cargo.lock | 18 ++++++++++++++++++ Cargo.toml | 16 +++++----------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eadafdd..95266ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -655,6 +655,7 @@ dependencies = [ [[package]] name = "blockifier" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "anyhow", "ark-ec", @@ -698,6 +699,7 @@ dependencies = [ [[package]] name = "blockifier_reexecution" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "assert_matches", "blockifier", @@ -3768,6 +3770,7 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "infra_utils" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "tokio", ] @@ -4536,6 +4539,7 @@ dependencies = [ [[package]] name = "mempool_test_utils" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "assert_matches", "blockifier", @@ -4999,6 +5003,7 @@ dependencies = [ [[package]] name = "papyrus_common" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "base64 0.13.1", "cairo-lang-starknet-classes", @@ -5017,6 +5022,7 @@ dependencies = [ [[package]] name = "papyrus_config" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "clap", "infra_utils", @@ -5031,6 +5037,7 @@ dependencies = [ [[package]] name = "papyrus_execution" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "anyhow", "blockifier", @@ -5053,6 +5060,7 @@ dependencies = [ [[package]] name = "papyrus_network_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "libp2p", "serde", @@ -5061,6 +5069,7 @@ dependencies = [ [[package]] name = "papyrus_proc_macros" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "quote", "syn 2.0.90", @@ -5070,6 +5079,7 @@ dependencies = [ [[package]] name = "papyrus_rpc" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "anyhow", "async-trait", @@ -5103,6 +5113,7 @@ dependencies = [ [[package]] name = "papyrus_storage" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "byteorder", "cairo-lang-casm", @@ -6939,6 +6950,7 @@ dependencies = [ [[package]] name = "starknet_api" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "bitvec", "cairo-lang-runner", @@ -6964,6 +6976,7 @@ dependencies = [ [[package]] name = "starknet_client" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "async-trait", "cairo-lang-starknet-classes", @@ -6990,6 +7003,7 @@ dependencies = [ [[package]] name = "starknet_gateway" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "async-trait", "axum", @@ -7017,6 +7031,7 @@ dependencies = [ [[package]] name = "starknet_gateway_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "async-trait", "axum", @@ -7035,6 +7050,7 @@ dependencies = [ [[package]] name = "starknet_mempool_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "async-trait", "papyrus_network_types", @@ -7048,6 +7064,7 @@ dependencies = [ [[package]] name = "starknet_sequencer_infra" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "async-trait", "bincode 1.3.3", @@ -7065,6 +7082,7 @@ dependencies = [ [[package]] name = "starknet_sierra_compile" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#5532b0b24ec7e5bad97acb9a2d9655a0c76607e0" dependencies = [ "cairo-lang-sierra", "cairo-lang-starknet-classes", diff --git a/Cargo.toml b/Cargo.toml index 0283b00..6e9fb2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,18 +12,12 @@ tracing = "0.1" serde_json = "1.0.116" serde_with = "3.11.0" serde = "1.0.197" -cairo-native = "=0.2.4" +cairo-native = "0.2.4" # Sequencer Dependencies - -starknet_api = { path = "../sequencer/crates/starknet_api" } # main -blockifier = { path = "../sequencer/crates/blockifier", features = ["cairo_native"] } # main -starknet_gateway = { path = "../sequencer/crates/starknet_gateway" } # main -blockifier_reexecution = { path = "../sequencer/crates/blockifier_reexecution" } # main - -# starknet_api = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main -# blockifier = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2", features = ["cairo_native"] } # main -# starknet_gateway = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main -# blockifier_reexecution = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main +starknet_api = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main +blockifier = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2", features = ["cairo_native"] } # main +starknet_gateway = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main +blockifier_reexecution = { git = "https://github.com/lambdaclass/sequencer.git", branch = "update-main-2" } # main [patch.'https://github.com/lambdaclass/cairo_native'] cairo-native = "=0.2.4"