forge create sets eth_estimateGas's type field to null, which does not work with a Besu node #7739
Closed
2 tasks done
Labels
T-bug
Type: bug
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (ee47bb0 2024-04-16T00:17:39.642110112Z)
What command(s) is the bug in?
forge create
Operating System
Linux
Describe the bug
I'm trying to deploy a simple ERC20 token to a private Besu network setting the gas price to 0.
When i follow the json-rpc calls, i see it calling eth_chainId, eth_getTransactionCount and finally a bunch of eth_estimateGas calls that all fail with Invalid Params.
The estimateGas call looks like this:
When i execute this against an Erigon node or against Anvil it works.
I noticed type is set to null. When using either type 0, 1 or 2, it also works against the Besu node.
Setting --legacy does not change this value.
I have not found any configuration value for this, nor is my rust skill level enough to figure out where it comes from 🤷🏻
The text was updated successfully, but these errors were encountered: