Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jul 18, 2024
1 parent 603a3c5 commit 40c3b2c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/katana/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ starknet = { workspace = true, optional = true }
thiserror.workspace = true
tracing.workspace = true

blockifier = { git = "https://github.com/dojoengine/blockifier", rev = "24029ba4", features = [ "testing" ], optional = true }
blockifier = { git = "https://github.com/dojoengine/blockifier", branch = "cairo-2.7", features = [ "testing" ], optional = true }
katana-cairo = { workspace = true, optional = true }

# Disable SIR for now until they support Cairo 2.6.3
Expand Down
6 changes: 0 additions & 6 deletions crates/katana/executor/src/implementation/blockifier/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,6 @@ fn to_call_info(call: CallInfo) -> trace::CallInfo {
let calldata = call.call.calldata.0.as_ref().clone();
let retdata = call.execution.retdata.0;

// let execution_resources = trace::ExecutionResources {
// n_steps: call.resources.n_steps,
// n_memory_holes: call.resources.n_memory_holes as u64,
// builtin_instance_counter: call.resources.builtin_instance_counter,
// };

let CallExecution { events, l2_to_l1_messages, .. } = call.execution;

let events = events.into_iter().map(to_ordered_event).collect();
Expand Down

0 comments on commit 40c3b2c

Please sign in to comment.