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
After the modification, err=invalid argument 1: hex string without 0x prefix no longer shows up but there is no pending Log coming out of the channel.
Questions:
Does Subscribe pending logs via SubscribeFilterLogs work in bsc fork ? If yes, how to properly do it ? If not, why not ? (looks like backend supports it )
The text was updated successfully, but these errors were encountered:
Hi there, unfortunately this is not currently available and you will have to use the solution suggested here for now: #1787 (comment)
You can see more details as to why and the PR that are still required to be merged in order to allow for the mentioned subscription for pending transaction to be available: #1783 (comment)
in the original GETH for ETH L1, one could subscribe to logs emitted by pending transaction with this snippet below
I have looked through the code base of this bsc fork. It looks like this functionality should be supported
bsc/eth/filters/filter_system.go
Line 227 in 2b83693
Trying to do
produces this error
Upon investigation it looks like there is a discrepancy here
bsc/ethclient/ethclient.go
Line 602 in 2b83693
backend used -2 to represent pendingBlock but ethclient still uses -1.
I have done this modification
After the modification,
err=invalid argument 1: hex string without 0x prefix
no longer shows up but there is no pending Log coming out of the channel.Questions:
Does Subscribe pending logs via
SubscribeFilterLogs
work in bsc fork ? If yes, how to properly do it ? If not, why not ? (looks like backend supports it )The text was updated successfully, but these errors were encountered: