Skip to content

statesync and blocksync: remove tests for serialized bytes#7383

Closed
williambanfield wants to merge 1 commit intomasterfrom
wb/remove-vector-tests
Closed

statesync and blocksync: remove tests for serialized bytes#7383
williambanfield wants to merge 1 commit intomasterfrom
wb/remove-vector-tests

Conversation

@williambanfield
Copy link
Contributor

These tests are checking that the serialized bytes of the proto messages do not change. However, the protobuf encoders do not make guarantees about the byte ordering of serialized messages. Namely, the fields may appear in any order in the serialized output.

@williambanfield
Copy link
Contributor Author

Closing for now while strategizing on a better way to handle canonical byte ordering for proto serialization when used for hashing / cryptographic signatures.

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

Successfully merging this pull request may close these issues.

4 participants