Skip to content

Compressed SSZ files used in unit test need to be related #1407

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

Open
rodrigo-o opened this issue Mar 28, 2025 · 0 comments
Open

Compressed SSZ files used in unit test need to be related #1407

rodrigo-o opened this issue Mar 28, 2025 · 0 comments
Labels
electra ssz Issues related to Simple Serialize (SSZ)

Comments

@rodrigo-o
Copy link
Collaborator

We have 2 ssz files as fixtures, one for the beacon state and another one for an empty block, the two appear to be related and picking any two of those fail a specific test:

  1) test construct block (Unit.Validator.BlockBuilderTest)
     test/unit/validator/block_builder_test.exs:21
     Assertion with == failed
     code:  assert block.body.randao_reveal == spec_block.message.body.randao_reveal
     left:  "\x97M_\x1D\xBB\xC5\xF5\xE5QW]^\xEFԼxl\x13Y\xB80\xA8x\xC8\xDDK\xAEP9\x91\xF8\x92\x10\xB6\xF1\xF8\x8Cpdw\xD7A\x8A\x86\x05$\xC0\xFF\x14\x1C\xE1\xF4`\xB6\x96BU\xCB\x18\xD0\xF4\xBE\xD0F\x92\xE3ka\xE7)U\e\x9A\x8F-.o\xC1\xA4$\xC3\xD4-\xBD`\x89l\xB6\xED\xFD\xD8\tG\x9C\xFB\xC5"
     right: "?\xAD\xB5\xBE\xE4\xD4_\xF7\x01eE\x15W\x9F\x13\xE4$\xA8\x82\x89r\x97\xBF\vb\xFB}(\xDE(\xAC\xBCHy\xD2wZ\x0E\x0Ew)=*\xD3\"\xED\xC5S\xA4\x04\xEDʪ\xF7ɯ\xFB\tg\e\xD4޺[`D\x82>VE\x8D\x8F\xB4C\xBE/\xED\xCD\r\x9C\d}5\xB4\xD4\x13l9\xFFӻ*i\xD7\xF0\xD8"
     stacktrace:
       test/unit/validator/block_builder_test.exs:59: (test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electra ssz Issues related to Simple Serialize (SSZ)
Projects
Status: No status
Development

No branches or pull requests

1 participant