Skip to content

Commit

Permalink
Add optional yParity field to TransactionObject
Browse files Browse the repository at this point in the history
The test is already included in previous commit of
test_execution_api fix. I separate the commit to let
users of this library aware of this changes.

This changes is also needed in eth hive test of rpc compat simulator.
  • Loading branch information
jangko committed Feb 29, 2024
1 parent c016e58 commit 7470012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web3/eth_api_types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ type
v*: Quantity # ECDSA recovery id
r*: UInt256 # ECDSA signature r
s*: UInt256 # ECDSA signature s
yParity*: Option[Quantity] # ECDSA y parity, none for Legacy, same as v for >= Tx2930
`type`*: Option[Quantity] # EIP-2718, with 0x0 for Legacy
chainId*: Option[Quantity] # EIP-159
accessList*: Option[seq[AccessTuple]] # EIP-2930
Expand Down

0 comments on commit 7470012

Please sign in to comment.