From b236ab71f84e2fb7a7f75654ce79393bad4a1079 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 23 Mar 2021 12:45:19 +0200 Subject: [PATCH] docs(api): update GasPrice rationale --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index f16cc27ce..52c93af7f 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -63,7 +63,7 @@ func NewPublicEthereumAPI(b Backend) *PublicEthereumAPI { return &PublicEthereumAPI{b} } -// GasPrice returns 1 gwei always. Rationale: https://github.com/ethereum-optimism/roadmap/issues/715 +// GasPrice always returns 1 gwei. See `DoEstimateGas` below for context. func (s *PublicEthereumAPI) GasPrice(ctx context.Context) (*hexutil.Big, error) { return (*hexutil.Big)(big.NewInt(defaultGasPrice)), nil }