Skip to content

Commit

Permalink
Add yParity to TxData type class
Browse files Browse the repository at this point in the history
- ``yParity`` was a recent addition to geth json transaction data. We added formatters for it but we missed it in the ``TxData`` class.
  • Loading branch information
fselmo committed Nov 15, 2023
1 parent 9ada1ba commit 9c76a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/3148.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``int`` type to ``yParity`` field for ``TxData``.
1 change: 1 addition & 0 deletions web3/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class RPCError(TypedDict):
"type": Union[int, HexStr],
"v": int,
"value": Wei,
"yParity": int,
},
total=False,
)
Expand Down

0 comments on commit 9c76a18

Please sign in to comment.