Skip to content

gas oracle is broken on 1.10.8 #23452

@geomad

Description

@geomad

System information

Geth version: 1.10.8-stable
OS & Version: Linux

This issue started after updating to 1.10.8-stable. Gas oracle doesn't return the expected results when parameters are different than the defaults (both setting IgnorePrice or/and MaxPrice will break it). Works as expected without the .toml setting below

.toml settings:

[Eth.GPO]
IgnorePrice = 2000000000

eth_feeHistory arguments provided with the call:

("0x1", "latest", null)

Expected behaviour

eth_feeHistory returns the expected values

Actual behaviour

eth_feeHistory returns

{ oldestBlock: '0x0', gasUsedRatio: null }

on geth console I read this log:

WARN  Sanitizing fee history length            requested=1 truncated=0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions