Skip to content

Commit

Permalink
fix(script:zk): persist metadata with skipped sim
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Jul 12, 2024
1 parent 238f330 commit 9577c99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/script/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ impl PreSimulationState {
.into_iter()
.map(|btx| {
let mut tx = TransactionWithMetadata::from_tx_request(btx.transaction);
tx.zk = btx.zk_tx.map(|metadata| ZkTransaction { factory_deps: metadata.factory_deps });
tx.rpc = btx.rpc.expect("missing broadcastable tx rpc url");
tx
})
Expand Down

0 comments on commit 9577c99

Please sign in to comment.