Skip to content

Commit

Permalink
Revert "use factory deps to retrieeve bytecodes in inspect"
Browse files Browse the repository at this point in the history
This reverts commit 5e2ba9a.
  • Loading branch information
nbaztec committed Aug 13, 2024
1 parent dfa9637 commit 65a7a05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/zksync/core/src/vm/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,13 @@ fn inspect_inner<S: ReadStorage>(
formatter::print_event(event, resolve_hashes);
}

let bytecodes = l2_tx
.execute
.factory_deps
.clone()
let bytecodes = vm
.get_last_tx_compressed_bytecodes()
.iter()
.flatten()
.flat_map(|dep| bytecode_to_factory_dep(dep.clone()).ok())
.map(|b| {
bytecode_to_factory_dep(b.original.clone())
.expect("failed converting bytecode to factory dep")
})
.collect();
let modified_keys = if is_static {
Default::default()
Expand Down

0 comments on commit 65a7a05

Please sign in to comment.