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

The method eth_getLogs does not support blockHash param #457

Closed
bz888 opened this issue Mar 1, 2024 · 2 comments
Closed

The method eth_getLogs does not support blockHash param #457

bz888 opened this issue Mar 1, 2024 · 2 comments

Comments

@bz888
Copy link

bz888 commented Mar 1, 2024

When making a rpc query to https://rpc.ankr.com/xdc

{
    "jsonrpc": "2.0",
    "method": "eth_getLogs",
    "params": [
        {
            "blockHash": "0xdc480998d4335c61fe5d32802b455a6fc5fa8c08e1b55ebd4c9229adde15e99c"
        }
    ],
    "id": 1
}

it would return the log for the latest block instead of the blockHash provided in the param.
if this is expected result then https://www.ankr.com/docs/rpc-service/chains/chains-api/xdc/#parameters-27 should be updated.

@gzliudan gzliudan changed the title eth_getLogs missing blockHash param The method eth_getLogs does not support blockHash param Mar 1, 2024
@gzliudan
Copy link
Collaborator

gzliudan commented Mar 1, 2024

Same with #179.

@gzliudan
Copy link
Collaborator

gzliudan commented Mar 19, 2024

This issue is fixed by PR #486, #490, #491. We are testing on devnet now, will move to testnet later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants