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

eth_getLogs doesn't return pending logs #15359

Closed
LogvinovLeon opened this issue Oct 23, 2017 · 2 comments
Closed

eth_getLogs doesn't return pending logs #15359

LogvinovLeon opened this issue Oct 23, 2017 · 2 comments

Comments

@LogvinovLeon
Copy link

System information

Geth version: Geth/v1.7.1-unstable/linux-amd64/go1.9
OS & Version: Linux
Commit hash : (if develop)

Expected behaviour

Geth should return all logs from transactions in the pending block

Actual behaviour

Geth returns an empty array of logs

Steps to reproduce the behaviour

  • Run geth node
  • Check that the pending block exist and contains transactions
    http http://54.215.190.250:8545 jsonrpc=2.0 id=1 method=eth_getBlockByNumber params:='["pending", true]'
  • Fetch all the logs from the pending block
    http http://54.215.190.250:8545 jsonrpc=2.0 id=1 method=eth_getLogs params:='[{"fromBlock": "pending", "toBlock": "pending"}]'

Backtrace

[backtrace]
@stale
Copy link

stale bot commented Oct 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot closed this as completed Dec 5, 2018
@0xAnarz
Copy link

0xAnarz commented Oct 8, 2020

https://ethereum.stackexchange.com/questions/88167/pending-transactions-logs-issue

This may be directly related to the issue.

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

No branches or pull requests

2 participants