Need to move protocol version information out from encoded data and prepend the binary format. This allows to change the serialization format and keep backward compatibility.
What was done?
Modified toBuffer methods to encode data into new binary format.
How Has This Been Tested?
Unit tests
Breaking Changes
Previously serialized data is not compatible.
Checklist:
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation
For repository code-owners and collaborators only
[x] I have assigned this pull request to a milestone
Issue being fixed or feature implemented
Need to move protocol version information out from encoded data and prepend the binary format. This allows to change the serialization format and keep backward compatibility.
What was done?
Modified
toBuffer
methods to encode data into new binary format.How Has This Been Tested?
Unit tests
Breaking Changes
Previously serialized data is not compatible.
Checklist:
For repository code-owners and collaborators only