Add optional yParity field to TransactionObject

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.
This commit is contained in:
jangko 2024-02-29 17:34:28 +07:00
parent c016e58488
commit 747001250a
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 0 deletions

View File

@ -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