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

beacon API eventstream blob_sidecar topic versioned hash incorrect format #5843

Closed
Savid opened this issue Jan 31, 2024 · 1 comment
Closed

Comments

@Savid
Copy link

Savid commented Jan 31, 2024

Describe the bug
The blob_sidecar topic payload in the beacon API event stream has incorrect versioned_hash formatted value, its not in hex string format.

Current payload;

{"block_root":"0x28f116a750ddbe6d0f66a6bdf2efb5b50605d5c5d9308d48b79033591293aa32","index":"0","slot":"4244117","kzg_commitment":"0x878d73147b9628205180f52bd05d3f8f2a9ad3915d4db05af29a80857e6899f2a2277362fcf961e531e755146dbb95c3","versioned_hash":["1","99","31","214","22","60","236","98","137","10","15","116","245","208","107","65","34","86","160","104","92","59","92","104","94","8","176","35","159","80","54","246"]}

Expected payload;

{"block_root":"0x28f116a750ddbe6d0f66a6bdf2efb5b50605d5c5d9308d48b79033591293aa32","index":"0","slot":"4244117","kzg_commitment":"0x878d73147b9628205180f52bd05d3f8f2a9ad3915d4db05af29a80857e6899f2a2277362fcf961e531e755146dbb95c3","versioned_hash":"0x01631fd6163cec62890a0f74f5d06b412256a0685c3b5c685e08b0239f5036f6"}

Tested on commit 0638741

To Reproduce

curl "http://127.0.0.1:5052/eth/v1/events?topics=blob_sidecar" -H "accept: text/event-stream"
@tersec
Copy link
Contributor

tersec commented Jan 31, 2024

#5844

@tersec tersec closed this as completed Feb 6, 2024
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

2 participants