diff --git a/ethereum/rpc/eth_api.go b/ethereum/rpc/eth_api.go index 5d707286..ab3ed39b 100644 --- a/ethereum/rpc/eth_api.go +++ b/ethereum/rpc/eth_api.go @@ -160,7 +160,8 @@ func (e *PublicEthAPI) Hashrate() hexutil.Uint64 { // GasPrice returns the current gas price based on Ethermint's gas price oracle. func (e *PublicEthAPI) GasPrice() *hexutil.Big { e.logger.Debugln("eth_gasPrice") - out := big.NewInt(0) + // TODO: use minimum value defined in config instead of default or implement oracle + out := big.NewInt(ethermint.DefaultGasPrice) return (*hexutil.Big)(out) }