Skip to content

getlogs returns false negative #1010

Description

@shunjizhan
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_getLogs",
  "params": [{
      "fromBlock": 4736803,
      "toBlock": 4736805,
      "topics": [
        "0x7357bdf6439eb71d76705f65b579405009821f85cd9c27520fe6bca4d2707bae"
      ]
  }]
}

=> can find logs
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_getLogs",
  "params": [{
      "fromBlock": 0,
      "toBlock": "latest",
      "topics": [
        "0x7357bdf6439eb71d76705f65b579405009821f85cd9c27520fe6bca4d2707bae"
      ]
  }]
}

=> []

I think this is due to subql truncating large result. Need to validation the cause, and figure out what's the most efficient way to handle this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lv. 3need some research to find out root cause or/and solutionbugit breaks something

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions