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

ethexe-observer: subcribe blocks when creating observer #4335

Open
techraed opened this issue Nov 12, 2024 · 0 comments
Open

ethexe-observer: subcribe blocks when creating observer #4335

techraed opened this issue Nov 12, 2024 · 0 comments
Labels
C1-feature Feature request Q1-easy

Comments

@techraed
Copy link
Member

Problem to Solve

Observer subcsribes blocks only when events stream is created via async_stream::stream!. The problem, is that the async subscription rpc-task is done inside the macro, so first stream.await will actually spend time on subscribing blocks, intead of obtaining blocks and events.

Possible Solution

Subscribe in the new.

Notes

No response

@techraed techraed added C1-feature Feature request Q1-easy labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C1-feature Feature request Q1-easy
Projects
None yet
Development

No branches or pull requests

1 participant