Closed seaona closed 2 years ago
Check the spec here , the additional one more baseFee
is expected.
baseFeePerGas: An array of block base fees per gas. This includes the next block after the newest of the returned range, because this value can be derived from the newest block. Zeroes are returned for pre-EIP-1559 blocks.
Hi,thank you,I hope you're great and you're bored ľm bored ĺm sorry l answered late. 🥰💖
در تاریخ دوشنبه ۱۱ آوریل ۲۰۲۲، ۰۷:۳۰ rjl493456442 @.***> نوشت:
Check the spec here https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:splitView%5D=false&uiSchema%5BappBar%5D%5Bui:input%5D=false&uiSchema%5BappBar%5D%5Bui:examplesDropdown%5D=false , the additional one more baseFee is expected.
baseFeePerGas: An array of block base fees per gas. This includes the next block after the newest of the returned range, because this value can be derived from the newest block. Zeroes are returned for pre-EIP-1559 blocks.
— Reply to this email directly, view it on GitHub https://github.com/ethereum/go-ethereum/issues/24669#issuecomment-1094491828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYF5KXDXWX64WQ544WBLSUDVEOITXANCNFSM5S425M2A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
ohh I see, thank you very much @rjl493456442
System information
Geth version: the one that Infura is using atm OS & Version: Linux
Expected behaviour
When making a request to
eth_feeHistory
and passing a value of "0x5" for theblockCount
, I expect to getbaseFeePerGas
,gasUsedRatio
andreward
for these indicated block range.Actual behaviour
However, on the
baseFeePerGas
I get one more entry than expected (6), meanwhile, on thegasUsedRatio
andreward
I am getting 5.I am not sure if this is actually a bug, or is it the expected behaviour. If so, to which block is the extra entry referring to?
Steps to reproduce the behaviour
Backtrace
When submitting logs: please submit them as text and not screenshots.