-
Notifications
You must be signed in to change notification settings - Fork 477
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 is not working #2373
Comments
|
Was able to find the following tx With query: |
Notes:
|
Steps to reproduce:
Find logs in the explorer, for example: https://quaiscan.io/address/0x0035d6329028c0B54E78B9a52f1305aa98ccCbCD?tab=logs&shard=undefined
Copy topic 0
Call quai_getLogs in Postman on rpc.quai.network/cyprus1:
{
"jsonrpc": "2.0",
"id": 1,
"method": "quai_getLogs",
"params": [{
"fromBlock": "0x2F1E8", // starting block number
"toBlock": "latest",
"address": "0x0035d6329028c0B54E78B9a52f1305aa98ccCbCD",
"topics": [
"0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9"
]
}]
}
Change "fromBlock" to the block the transaction was included in (or several blocks before)
Expected result is the logs returned, but currently the return is empty. However this works sometimes with the QFAN token events. We are likely not indexing bloom filters correctly.
The text was updated successfully, but these errors were encountered: