Skip to content

Filecoin.EthGetBlockByHash not working with lotus-gateway #6531

@hanabi1224

Description

@hanabi1224

Describe the bug

To reproduce

Payload:

{
    "jsonrpc": "2.0",
    "method": "Filecoin.EthGetBlockByHash",
    "params": [
 "0x44128b39e6e71fd057b591c11efd254dd878ad1c6195ee8d211034130bf36bc2",false
    ],
    "id": 1
  }

Gateway response(backed by Forest):

{"error":{"code":1,"message":"RPC error (-32603): can't find object with cid=bafy2bzacebcbfczz43tr7ucxwwi4chx5evg5q6fndrqzl3uneeidieyl6nv4e"},"id":1,"jsonrpc":"2.0"}

Gateway response(backed by Lotus): normal
Forest response: normal

  1. Go to '...'
  2. Run '....'
  3. See error

Log output

Log Output
paste log output...

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS:
  • Branch/commit
  • Hardware

Other information and links

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions