-
Notifications
You must be signed in to change notification settings - Fork 817
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
Websocket eth filter system not reporting events correctly #1850
Comments
For anyone looking to confirm:
It does in fact miss the majority of events on the Websocket Provider for some reason.
|
Looking at the code in evmrpc\subscribe.go, we can see the logs functionality has not been properly implemented. My good friend Claude the AI made this, and it seems to work - but not vetted: ` func (a *SubscriptionAPI) Logs(ctx context.Context, filter *filters.FilterCriteria) (s *rpc.Subscription, err error) {
}` |
#1853 does not complete this issue, not even close |
Hey @CRossel87a we tried using your fix there and it seemed to partially work, it would start to show the 'synthetic' events for any cross-environment tx, but not all of them. Did it work fully for you? |
Hi, I have not done deep testing on this |
I think we may have found the issue. You were also chatting with me on
discord before it got hacked and deleted right?
…On Thu, Oct 3, 2024, 3:58 PM CRossel87a ***@***.***> wrote:
Hey @CRossel87a <https://github.com/CRossel87a> we tried using your fix
there and it seemed to partially work, it would start to show the
'synthetic' events for any cross-environment tx, but not all of them. Did
it work fully for you?
Hi,
I have not done deep testing on this
—
Reply to this email directly, view it on GitHub
<#1850 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHR645VP4UWWRCFD2TIRM2TZZW4YPAVCNFSM6AAAAABN4C25WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGQYTEMZSHA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Seid version
name: sei
server_name:
version: v5.7.5
commit: 7e7a9ce
build_tags: netgo ledger,
go: go version go1.21.6 linux/amd64
build_deps:
Chain ID
Mainnet, pacific-1, 1329
Describe the bug
Almost no eth events are emitted through the websocket filter subscription
To Reproduce
Steps to reproduce the behavior:
{"jsonrpc":"2.0","id":1,"method":"eth_subscribe","params": ["logs", {"topics": ["0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67"]}]}
OR
{"jsonrpc":"2.0","id":1,"method":"eth_subscribe","params": ["logs", {"topics": ["0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"]}]}
Expected behavior
All events emitted
The text was updated successfully, but these errors were encountered: