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>
This commit is contained in:
		@@ -42,7 +42,7 @@ type Backend interface {
 | 
			
		||||
	// General Ethereum API
 | 
			
		||||
	Downloader() *downloader.Downloader
 | 
			
		||||
	SuggestGasTipCap(ctx context.Context) (*big.Int, error)
 | 
			
		||||
	FeeHistory(ctx context.Context, blockCount int, lastBlock rpc.BlockNumber, rewardPercentiles []float64) (rpc.BlockNumber, [][]*big.Int, []*big.Int, []float64, error)
 | 
			
		||||
	FeeHistory(ctx context.Context, blockCount int, lastBlock rpc.BlockNumber, rewardPercentiles []float64) (*big.Int, [][]*big.Int, []*big.Int, []float64, error)
 | 
			
		||||
	ChainDb() ethdb.Database
 | 
			
		||||
	AccountManager() *accounts.Manager
 | 
			
		||||
	ExtRPCEnabled() bool
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user