-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth_estimateGas: default feeCap to base fee (#10495)
After [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) gas fee must be greater or equal to block's base fee – otherwise `eth_estimateGas` might fail with the fee defaulting to 0 (see #10373 (comment)). Also, this PR removes the `blockNrOrHash` argument from `eth_estimateGas`. geth doesn't have it. Moreover, it was effectively ignored by the previous code anyway with the exception of determining gas limit.
- Loading branch information
Showing
3 changed files
with
32 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters