-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* anvil/eth: Use the raw `v` signature value instead of `bool` Instead of converting the boolean corresponding to the y parity byte to a u64/U256, use the raw `v` value for the `v` field when available. * anvil/eth: Use proper Parity signature in impersonate The correct `v` value must be used when using a dummy signature, depending on the transaction type (the Legacy transactions being the ones needing a special case). * anvil/eth: Use proper signature for creating txs This fixes wrong hash being computed for transactions. --------- Co-authored-by: zerosnacks <zerosnacks@protonmail.com>
- Loading branch information
1 parent
dafccd3
commit cb9dfae
Showing
3 changed files
with
48 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters