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

getlogs returns false negative #1010

Open
shunjizhan opened this issue Aug 19, 2024 · 0 comments
Open

getlogs returns false negative #1010

shunjizhan opened this issue Aug 19, 2024 · 0 comments
Labels
bug it breaks something Lv. 3 need some research to find out root cause or/and solution

Comments

@shunjizhan
Copy link
Collaborator

{
  "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

@shunjizhan shunjizhan added bug it breaks something Lv. 3 need some research to find out root cause or/and solution labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug it breaks something Lv. 3 need some research to find out root cause or/and solution
Projects
None yet
Development

No branches or pull requests

1 participant