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

quai_getLogs doesn't seem to be working #2356

Open
jdowning100 opened this issue Nov 13, 2024 · 3 comments
Open

quai_getLogs doesn't seem to be working #2356

jdowning100 opened this issue Nov 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jdowning100
Copy link
Contributor

For some reason, quai_getLogs works on QFan token transfer events but doesn't work on other token transfer events.

Example: https://quaiscan.io/address/0x005Aa15A0Ef04532182E44b01BB9b6417BB53e5C?tab=logs&shard=unknown1

{
"jsonrpc": "2.0",
"id": 1,
"method": "quai_getLogs",
"params": [{
"fromBlock": "0x60367",
"toBlock": "0x60367",
"address": "0x005Aa15A0Ef04532182E44b01BB9b6417BB53e5C",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
]
}]
}

Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": []
}

@jdowning100 jdowning100 self-assigned this Nov 13, 2024
@mibuono mibuono assigned wizeguyy and unassigned jdowning100 Nov 21, 2024
@mibuono mibuono added the bug Something isn't working label Nov 21, 2024
@wizeguyy
Copy link
Member

wizeguyy commented Dec 3, 2024

Nondeterministic timing. On one test iteration, an event disappeared after 2077 blocks:

On block 800540 NO MORE LOGS after 2077 blocks

On another event, it is still available long after:

On block 800872 still had logs after 2092 blocks
...
...
...
On block 803070 NO MORE LOGS after 4290 blocks

@wizeguyy
Copy link
Member

wizeguyy commented Dec 5, 2024

Kicking the can on this, since Jonathan has a short term solution, and the root cause here is evading us.

@mibuono mibuono added this to the Mainnet milestone Dec 9, 2024
@alanorwick
Copy link
Contributor

duplicate issue: #2373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants