Test and fix eth_FeeHistory

This commit is contained in:
Ian Davis
2023-01-24 11:27:18 +00:00
parent c0c8ad5510
commit 8daf22c3ff
3 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ func (h EthHash) ToCid() cid.Cid {
}
type EthFeeHistory struct {
OldestBlock uint64 `json:"oldestBlock"`
OldestBlock EthUint64 `json:"oldestBlock"`
BaseFeePerGas []EthBigInt `json:"baseFeePerGas"`
GasUsedRatio []float64 `json:"gasUsedRatio"`
Reward *[][]EthBigInt `json:"reward,omitempty"`