Use `hexutil.Uint` for `blockCount` parameter in `feeHistory` method (#23239)
* internal/ethapi/api: use hexutil.uint for blockCount parameter instead of int for feeHistory
* return hex value for oldestBlock instead of number
* return uint64 from oracle.resolveBlockRange
* eth/gasprice: fixed test
Co-authored-by:
Zsolt Felfoldi <zsfelfoldi@gmail.com>
Showing
- eth/api_backend.go 1 addition, 1 deletioneth/api_backend.go
- eth/gasprice/feehistory.go 19 additions, 18 deletionseth/gasprice/feehistory.go
- eth/gasprice/feehistory_test.go 2 additions, 2 deletionseth/gasprice/feehistory_test.go
- internal/ethapi/api.go 4 additions, 4 deletionsinternal/ethapi/api.go
- internal/ethapi/backend.go 1 addition, 1 deletioninternal/ethapi/backend.go
- les/api_backend.go 1 addition, 1 deletionles/api_backend.go
Loading
Please register or sign in to comment