From 747001250a27278e0f0f1706fe1dec88ad3ede8d Mon Sep 17 00:00:00 2001 From: jangko Date: Thu, 29 Feb 2024 17:34:28 +0700 Subject: [PATCH] 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. --- web3/eth_api_types.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/web3/eth_api_types.nim b/web3/eth_api_types.nim index 511a025..1b2cdf5 100644 --- a/web3/eth_api_types.nim +++ b/web3/eth_api_types.nim @@ -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