-
Notifications
You must be signed in to change notification settings - Fork 843
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
Ensure light_client/updates
endpoint returns spec compliant SSZ data
#7230
base: release-v7.0.0
Are you sure you want to change the base?
Ensure light_client/updates
endpoint returns spec compliant SSZ data
#7230
Conversation
light_client/updates
endpoint returns spec compliant SSZ datalight_client/updates
endpoint returns spec compliant SSZ data
common/eth2/src/types.rs
Outdated
pub response_chunk_len: Vec<u8>, | ||
pub response_chunk: Vec<u8>, | ||
pub struct LightClientUpdateResponseChunk { | ||
pub response_chunk_len: u8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is meant to be a u64 I think?
The spec says:
(
response_chunk_len: Little-endian Uint64 byte length of `response_chunk`
response_chunk: (
context: 4 byte `ForkDigest`
payload: SSZ serialized payload bytes
)
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…rilev/lighthouse into light-client-updates-ssz-fix
Issue Addressed
Closes #7167
Proposed Changes