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

Attestation Event stream emits less Attestation than expected #3609

Closed
InvisibleSymbol opened this issue Apr 27, 2022 · 1 comment
Closed
Assignees
Milestone

Comments

@InvisibleSymbol
Copy link

Describe the bug
For a project I'm working on I need a constant stream of all Attestations my nodes receives. After enabling --subscribe-all-subnets, this results in around around 900 Attestations/s being received.
image
But http://nimbus/eth/v1/events?topics=attestation only emits around 25-50 Attestation/s, seemingly a random sample of all received Attestations. This does not match what Teku does for example (emitting all), nor what I would expect the endpoint to do (a random sample is pretty useless).

To Reproduce
You can run this small script to get an Attestation/s count the endpoint emits. requires pip install sseclient

from sseclient import SSEClient
from tqdm import tqdm
for _ in tqdm(SSEClient("http://nimbus:5052/eth/v1/events?topics=attestation")):
    pass
@zah zah added this to the v22.6.0 milestone Jun 9, 2022
@zah
Copy link
Contributor

zah commented Jun 19, 2022

A fix for this has been merged in the unstable branch and will be shipped in Nimbus v22.6.0

@zah zah closed this as completed Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants