Skip to content

Commit

Permalink
Merge branch 'main' into update-sequencer
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Jan 21, 2025
2 parents 853a6db + 1c2af64 commit 76f3710
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ fs2 = "0.4.3"
cairo-native = { git = "https://github.com/lambdaclass/cairo_native.git", rev = "e9151aa8420a138f70febb721f8979d3dd2f7223" }
anyhow = "1.0"
# Sequencer Dependencies
sierra-emu = { git = "https://github.com/lambdaclass/sierra-emu.git", rev = "58188e8da1e1e40d1c47b6bd311d1caf48cb08fb" }
starknet_api = { git = "https://github.com/lambdaclass/sequencer.git", rev = "916fe91e1731e7ae3c88868498221f11f9b084c5" } # replay
blockifier = { git = "https://github.com/lambdaclass/sequencer.git", rev = "916fe91e1731e7ae3c88868498221f11f9b084c5", features = ["cairo_native"] } # replay
starknet_gateway = { git = "https://github.com/lambdaclass/sequencer.git", rev = "916fe91e1731e7ae3c88868498221f11f9b084c5" } # replay
blockifier_reexecution = { git = "https://github.com/lambdaclass/sequencer.git", rev = "916fe91e1731e7ae3c88868498221f11f9b084c5" } # replay
starknet_api = { git = "https://github.com/lambdaclass/sequencer.git", rev = "9c66b9de554f64bce62b7d0eec2ec29c2276646d" } # replay
blockifier = { git = "https://github.com/lambdaclass/sequencer.git", rev = "9c66b9de554f64bce62b7d0eec2ec29c2276646d", features = ["cairo_native"] } # replay
starknet_gateway = { git = "https://github.com/lambdaclass/sequencer.git", rev = "9c66b9de554f64bce62b7d0eec2ec29c2276646d" } # replay
blockifier_reexecution = { git = "https://github.com/lambdaclass/sequencer.git", rev = "9c66b9de554f64bce62b7d0eec2ec29c2276646d" } # replay
2 changes: 1 addition & 1 deletion replay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ benchmark = ["dep:serde", "dep:serde_json", "dep:serde_with"]
# The only_cairo_vm feature is designed to avoid executing transitions with cairo_native and instead use cairo_vm exclusively
only_cairo_vm = ["rpc-state-reader/only_casm"]
structured_logging = []
profiling = []
profiling = ["blockifier/profiling"]
state_dump = ["dep:serde", "dep:serde_json", "dep:serde_with", "dep:starknet-types-core"]
with-sierra-emu = ["rpc-state-reader/with-sierra-emu"]

Expand Down
1 change: 0 additions & 1 deletion rpc-state-reader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ blockifier_reexecution = { workspace = true }
starknet_gateway = { workspace = true }
tracing = { workspace = true }
anyhow.workspace = true
sierra-emu.workspace = true
fs2.workspace = true

[dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions rpc-state-reader/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ fn compile_sierra_cc(
} else {
let executor = if cfg!(feature = "with-sierra-emu") {
let program = Arc::new(sierra_cc.extract_sierra_program().unwrap());
sierra_emu::VirtualMachine::new_starknet(program, &sierra_cc.entry_points_by_type)
.into()
(program, sierra_cc.entry_points_by_type.clone()).into()
} else {
get_native_executor(&sierra_cc, class_hash).into()
};
Expand Down

0 comments on commit 76f3710

Please sign in to comment.