You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm, this change might actually belong in eth-tester. Either way, we'll have to copy it and deprecate input (rather than just move it) in case anyone is depending on this current behavior.
What was wrong?
I am using
web3.eth.getTransaction
to check transaction data in my tests. If I use geth node as HTTPProvider I got:But if I use EthereumTesterProvider with PyEVM I got:
AttributeDict keys is the same except for
'input'
/'data'
. According to geth and parity JSON-RPC docs, there should beinput
.Here in eth_tester this field defined.
How can it be fixed?
Add
'data': 'input'
to TRANSACTION_KEY_MAPPINGSThe text was updated successfully, but these errors were encountered: