Skip to content

eth_baseFee returns null on v1.11.11 #660

@exp0nge

Description

@exp0nge

Describe the bug
When calling eth_baseFee, it returns null on the latest release

{
  "jsonrpc" : "2.0",
  "method" : "eth_baseFee",
  "params" : [ ],
  "id" : 0
}
{
  "jsonrpc" : "2.0",
  "id" : 0,
  "result" : null
}

To Reproduce
We are running a local network version:

--config-file=/build/dev/config/config.json --chain-config-dir=/build/dev/config --sybil-protection-enabled=false" --network-id=local

config.json:

{
    "pruning-enabled": false,
    "http-host": "0.0.0.0",
    "staking-enabled": false,
    "bootstrap-ips": [],
    "bootstrap-ids": [],
    "snow-sample-size": 1,
    "snow-quorum-size": 1,
    "snow-mixed-query-num-push-vdr": 1
}

C/config.json

{
  "gasLimit": 15000000,
  "pruning-enabled": false, 
  "offline-pruning-enabled": false,
  "eth-apis": [
      "public-eth",
      "public-eth-filter",
      "net",
      "web3",
      "internal-public-eth",
      "internal-public-blockchain",
      "internal-public-transaction-pool",
      "internal-public-account",
      "debug-tracer",
      "internal-public-debug",
      "internal-private-debug"
    ]
}

We pull the linux-amd64 image into a debian base image.

Expected behavior
The current base fee is returned

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, please include the relevant logs that indicate a problem and/or the log directory of your node. By default, this can be found at ~/.avalanchego/logs/.

Metrics
If applicable, please include any metrics gathered from your node to assist us in diagnosing the problem.

Operating System
Debian

Additional context
Add any other context about the problem here.

Avalanche Bug Bounty program can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions