hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.49k stars 815 forks source link

Include current chain head block when computing `eth_maxPriorityFeePerGas` #7485

Closed fab-10 closed 1 month ago

fab-10 commented 1 month ago

PR description

Include current chain head block when computing eth_maxPriorityFeePerGas and move the calculation of the lower bound to BlockchainQueries::gasPriorityFee to uniform the code to gasPrice

Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

Locally, you can run these tests to catch failures early: