-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Investigate inconsistent ssz deserialize #2648
Comments
Note that |
Should we add unit tests for that type in the ssz repo? |
we haven't implemented ssz spec tests, that should scan these ssz issues if we test both struct type and tree backed type |
Should we prioritize implementing those then? |
Fixed in ssz 0.8.8 |
Describe the bug
Given this block 32768 in oonoonba network
signed_block_32768.zip
gives us
@@@ loaded signed block successfully at slot 32768 root 0xc1ad6fc70d6c83cba35288fc58441325bbb985b16b407bdff2857ba6a30fafd0
which is correct (since we can process that block)while
gives us
@@@ loaded signed block successfully at slot 32768 root 0x9b1482b3be4086d530feb8954f6b5a3a975381c26d2a97482f51db974b5fd59a
this is incorrect block root and we got
Invalid block signature
processing that blockExpected behavior
ssz.altair.SignedBeaconBlock.deserialize()
should be the same tossz.altair.SignedBeaconBlock.createTreeBackedFromBytes()
The text was updated successfully, but these errors were encountered: