mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
ethereum: rename to GasPricer1559
It's not a 'reader' since the result is computed by the oracle.
This commit is contained in:
parent
f016bff493
commit
f895169007
2 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ type Client interface {
|
|||
ethereum.ContractCaller
|
||||
ethereum.GasEstimator
|
||||
ethereum.GasPricer
|
||||
ethereum.GasTipCapReader
|
||||
ethereum.GasPricer1559
|
||||
ethereum.FeeHistoryReader
|
||||
ethereum.LogFilterer
|
||||
ethereum.PendingStateReader
|
||||
|
|
|
|||
|
|
@ -199,8 +199,8 @@ type GasPricer interface {
|
|||
SuggestGasPrice(ctx context.Context) (*big.Int, error)
|
||||
}
|
||||
|
||||
// GasTipCapReader provides access to the EIP-1559 gas price oracle.
|
||||
type GasTipCapReader interface {
|
||||
// GasPricer1559 provides access to the EIP-1559 gas price oracle.
|
||||
type GasPricer1559 interface {
|
||||
SuggestGasTipCap(ctx context.Context) (*big.Int, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue