diff --git a/Cargo.lock b/Cargo.lock index 2c494be..ec3ced6 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#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" 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#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" 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#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "tokio", ] @@ -4535,6 +4538,7 @@ dependencies = [ [[package]] name = "mempool_test_utils" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "assert_matches", "blockifier", @@ -4998,6 +5002,7 @@ dependencies = [ [[package]] name = "papyrus_common" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "base64 0.13.1", "cairo-lang-starknet-classes", @@ -5016,6 +5021,7 @@ dependencies = [ [[package]] name = "papyrus_config" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "clap", "infra_utils", @@ -5030,6 +5036,7 @@ dependencies = [ [[package]] name = "papyrus_execution" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "anyhow", "blockifier", @@ -5052,6 +5059,7 @@ dependencies = [ [[package]] name = "papyrus_network_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "libp2p", "serde", @@ -5060,6 +5068,7 @@ dependencies = [ [[package]] name = "papyrus_proc_macros" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "quote", "syn 2.0.89", @@ -5069,6 +5078,7 @@ dependencies = [ [[package]] name = "papyrus_rpc" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "anyhow", "async-trait", @@ -5102,6 +5112,7 @@ dependencies = [ [[package]] name = "papyrus_storage" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "byteorder", "cairo-lang-casm", @@ -6938,6 +6949,7 @@ dependencies = [ [[package]] name = "starknet_api" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "bitvec", "cairo-lang-runner", @@ -6963,6 +6975,7 @@ dependencies = [ [[package]] name = "starknet_client" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "async-trait", "cairo-lang-starknet-classes", @@ -6989,6 +7002,7 @@ dependencies = [ [[package]] name = "starknet_gateway" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "async-trait", "axum", @@ -7016,6 +7030,7 @@ dependencies = [ [[package]] name = "starknet_gateway_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "async-trait", "axum", @@ -7034,6 +7049,7 @@ dependencies = [ [[package]] name = "starknet_mempool_types" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "async-trait", "papyrus_network_types", @@ -7047,6 +7063,7 @@ dependencies = [ [[package]] name = "starknet_sequencer_infra" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "async-trait", "bincode 1.3.3", @@ -7064,6 +7081,7 @@ dependencies = [ [[package]] name = "starknet_sierra_compile" version = "0.0.0" +source = "git+https://github.com/lambdaclass/sequencer.git?branch=update-main-2#fdf3e39dc45123d72f433a8e3b89ddbc49c0be1a" dependencies = [ "cairo-lang-sierra", "cairo-lang-starknet-classes", diff --git a/Cargo.toml b/Cargo.toml index 664ae84..2157fe7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,15 +14,10 @@ serde_with = "3.11.0" serde = "1.0.197" cairo-native = "0.2.4" # Sequencer Dependencies -# 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 = { 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 # [patch.'https://github.com/lambdaclass/cairo_native'] # cairo-native = { git = "https://github.com/lambdaclass//cairo_native.git", rev = "76e83965d3bf1252eb6c68200a3accd5fd1ec004" } diff --git a/rpc-state-reader/src/execution.rs b/rpc-state-reader/src/execution.rs index 696103a..601e7da 100644 --- a/rpc-state-reader/src/execution.rs +++ b/rpc-state-reader/src/execution.rs @@ -169,7 +169,7 @@ pub fn execute_tx_configurable_with_state( block_info, chain_info, versioned_constants, - BouncerConfig::empty(), + BouncerConfig::max(), ); // Get transaction before giving ownership of the reader