We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anvil
foundryup: installed - anvil 0.1.0 (5c2db0b 2023-01-31T00:18:27.342972Z)
RPC for sending txn
macOS (Intel)
To increase compatibility with web3.py, allow integer for type in transaction. https://github.com/ethereum/web3.py/blob/master/web3/types.py#L224
This will allow HTTP clients to be simpler and use integers.
The text was updated successfully, but these errors were encountered:
@antazoey could you please clarify the issue / send a way to reproduce? thank you!
Sorry, something went wrong.
I'm guessing referring to this:
if isinstance(txn_dict.get("type"), int): txn_dict["type"] = HexBytes(txn_dict["type"]).hex()
The type field in transactions is specified as a hex-encoded integer. This has always been the standard.
type
No branches or pull requests
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
foundryup: installed - anvil 0.1.0 (5c2db0b 2023-01-31T00:18:27.342972Z)
What command(s) is the bug in?
RPC for sending txn
Operating System
macOS (Intel)
Describe the bug
To increase compatibility with web3.py, allow integer for type in transaction.
https://github.com/ethereum/web3.py/blob/master/web3/types.py#L224
This will allow HTTP clients to be simpler and use integers.
The text was updated successfully, but these errors were encountered: