foundry-rs / foundry-rs/foundry
Add support for debugging Quorum private transactions
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Cast
### Describe the feature you would like
Quorum private transactions store a 64 bytes private transaction manager (ptm) hash in the transaction's input, and also sets the signature recovery id (v) to either 37/38. Calling `cast run` on a quorum private transaction is not giving the correct trace output since the EVM is executing the ptm hash instead of the actual transaction input.
Proposing to include a feature where we check for a 64 bytes input, and a v that is set to 37/38, and fetch the actual transaction input from the PTM before simulating the transaction, to cater for the specific instance when we want to replay a Quorum private transaction.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.