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

[BUG] eth_getLogs returns empty for transaction 0x849a6ceaf4ce0b9781c9e299fd15d2094b79a29c54bd175acf7af7101e9e3fc1 #1934

Closed
quick-pawiromitchel opened this issue Nov 14, 2024 · 4 comments
Labels
bug Something isn't working linear Created by Linear-GitHub Sync

Comments

@quick-pawiromitchel
Copy link

Seid version

name: sei
server_name: <appd>
version: v5.9.0-hotfix-3
commit: 95532966c643e9e965fdd9aff8002899b3c5920a
build_tags: netgo,
go: go version go1.21.13 linux/amd64
build_deps:
- cosmossdk.io/errors@v1.0.0
- filippo.io/edwards25519@v1.0.0-rc.1
- github.com/99designs/keyring@v1.2.1

Chain ID
Pacific

Describe the bug
Logs aren't returned, node returns empty

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

But the explorer shows 28 logs

To Reproduce
Run the following payload {"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"fromBlock":"0x6703ac6","toBlock":"0x6703ac6"}]}

Expected behavior
I expect logs to show up

@quick-pawiromitchel quick-pawiromitchel added bug Something isn't working linear Created by Linear-GitHub Sync labels Nov 14, 2024
@cordt-sei
Copy link
Contributor

Try this one

'{"jsonrpc":"2.0","id":1,"method":"sei_getLogs","params":[{"fromBlock":"0x6703ac6","toBlock":"0x6703ac6"}]}'

@quick-pawiromitchel
Copy link
Author

sei_getLogs does indeed work, thank you

@AlexBHarley
Copy link

We've just run into this, a little annoying to special case when using tools like Viem.

Any reason it doesn't work with eth_getLogs as we'd expect?

@philipsu522
Copy link
Contributor

Fixed in #1941

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

No branches or pull requests

4 participants