good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 35dbf7a8 authored by Zsolt Felföldi's avatar Zsolt Felföldi Committed by GitHub
Browse files

eth/gasprice: implement feeHistory API (#23033)


* eth/gasprice: implement feeHistory API

* eth/gasprice: factored out resolveBlockRange

* eth/gasprice: add sanity check for missing block

* eth/gasprice: fetch actual gas used from receipts

* miner, eth/gasprice: add PendingBlockAndReceipts

* internal/ethapi: use hexutil.Big

* eth/gasprice: return error when requesting beyond head block

* eth/gasprice: fixed tests and return errors correctly

* eth/gasprice: rename receiver name

* eth/gasprice: return directly if blockCount == 0

Co-authored-by: default avatarrjl493456442 <garyrong0905@gmail.com>
parent 1b5582ac
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment