Skip to content

SSZ encodes a Hash32 with a length prefix #20

@paulhauner

Description

@paulhauner

s.append_encoded_val(&self.to_vec());

Presently, SSZ prefixes a Hash32 with a length prefix. It should not do this, as a Hash32 is fixed-length and does not need a length prefix.

When this is implemented, it will break the SszBlock struct. I am more than happy to fix that struct personally when the time comes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions