Skip to content

Commit

Permalink
chore: revert inconsistent change
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Dec 2, 2024
1 parent 2f95221 commit fe2c73b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/script/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,10 @@ impl PreSimulationState {
// Executes all transactions from the different forks concurrently.
let futs = transactions
.into_iter()
// NOTE(zk): this one is `mut` upstream but doesn't need to be
.map(|transaction| async {
.map(|mut transaction| async {
let mut runner = runners.get(&transaction.rpc).expect("invalid rpc url").write();
let zk_metadata = transaction.zk.clone();
let tx = transaction.tx(); // NOTE(zk): this one is also `mut` upstream but doesn't need to be
let tx = transaction.tx_mut();

let to = if let Some(TxKind::Call(to)) = tx.to() { Some(to) } else { None };
let result = runner
Expand Down

0 comments on commit fe2c73b

Please sign in to comment.