Closed yzang2019 closed 1 month ago
This PR add a new EVM rpc endpoint for eth_maxPriorityFeePerGas, we don't really have an exact same implementation for tip, but for now we can just return a suggested gas price using feeHist.Reward[0][0].ToInt()
Added unit test
Attention: Patch coverage is 41.66667% with 7 lines in your changes are missing coverage. Please review.
41.66667%
7 lines
Project coverage is 60.65%. Comparing base (c92dc5f) to head (434b061).
c92dc5f
434b061
Describe your changes and provide context
This PR add a new EVM rpc endpoint for eth_maxPriorityFeePerGas, we don't really have an exact same implementation for tip, but for now we can just return a suggested gas price using feeHist.Reward[0][0].ToInt()
Testing performed to validate your change
Added unit test