You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs are only emitted when a transaction is executed by the EVM. Pending transactions by definition aren't executed yet, so no logs have been emitted for them?
It works for Nethermind and it works for OpenEthereum, every JSON-RPC doc I can find states that pending is supported, and Martin/holiman already said "the backend looks like it should handle this case."
System information
Geth version:
v1.10.15
OS & Version: Linux
This is kind of a duplicate of #5359 however, that was automatically closed and was never addressed.
Expected behaviour
eth_getLogs
should work with"pending"
blocks - according to all available documentation"pending"
is a valid string for bothfromBlock
andtoBlock
Both Nethermind and OpenEthereum support
"pending"
here in accordance with the docs.Actual behaviour
"pending"
to"pending"
:That ☝️ is just broken completely
"latest"
to"pending"
:That ☝️ always returns an empty array, despite the fact there should be logs (test an OpenEthereum node, it'll return lots of stuff)
Steps to reproduce the behaviour
Take the the following
eth_getLogs
command and just modify thefromBlock
and/ortoBlock
The text was updated successfully, but these errors were encountered: