Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth_getFinalizedHeader returns "21 out of range [1,8]" error #602

Closed
quick-pawiromitchel opened this issue Jan 26, 2025 · 1 comment
Closed

Comments

@quick-pawiromitchel
Copy link

System information

Erigon version: erigon/1.2.16/linux-amd64/go1.21.5

OS & Version: Linux

Chain/Network: BSC Testnet

Expected behaviour

Correct response

Actual behaviour

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32000,
    "message": "21 out of range [1,8]"
  }
}

Steps to reproduce the behaviour

Run the payload { "jsonrpc": "2.0", "method": "eth_getFinalizedHeader", "params": [21], "id": 1 }

Backtrace

[WARN] [01-26|13:42:14.398] [rpc] served                             conn=xxx.xxx.xxx.xxx:54553 method=eth_getFinalizedHeader reqid=1 t=197.445µs err="21 out of range [1,8]"
@MatusKysel
Copy link
Collaborator

duplicate of bnb-chain/bsc#2866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants