forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reintroduce refactoring to split TrieRefcountChange to TrieRefcountAd…
…dition/Subtraction (near#10080) Previous change near#10006 caused an issue because it made the borsh encoding of TrieRefcountSubtraction incompatible. This change makes it compatible by ignoring the value field when deserializing, and when serializing outputs an empty vector. Also adds a test to check that the previous encoding is compatible with the new one.
- Loading branch information
1 parent
6fb0c39
commit 3fcd356
Showing
6 changed files
with
218 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.