Skip to content

Commit

Permalink
fix(dev-tools): pass tx.value in getTransactionResult (#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
ECWireless authored Jun 20, 2024
1 parent e0c9eaa commit e5c28df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dev-tools/src/actions/getTransactionResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export function getTransactionResult(
args,
// simulation happens at the end of the block, so we need to use the previous block number
blockNumber: receipt.blockNumber - 1n,
// TODO: do we need to include value, nonce, gas price, etc. to properly simulate?
value: tx.value,
// TODO: do we need to include nonce, gas price, etc. to properly simulate?
});
});
}
Expand Down

0 comments on commit e5c28df

Please sign in to comment.