generated from eigerco/beerus
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage): v2.1.0 improvements (#156)
Additional improvements to `List` implementation. ## Pull Request type <!-- Please try to limit your pull request to one type; submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no API changes) - [ ] Build-related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the new behavior? * Removing the custom `StorageSize` trait. It's replaced by `Store::size` since in v2.1.0 it doesn't require an arg anymore. * Using Poseidon hash instead of Pedersen (LegacyHash) since it's 10x cheaper. ## Does this introduce a breaking change? - [x] Yes - [ ] No No easy migration path but I'm guessing no one's using it in prod yet. Since it's a breaking change, I did bump the package version to `0.2.0`. ## Other information Also shortening the `test_append_get_many` test to go over less elements, should be about half as long while still testing the right behavior.
- Loading branch information
1 parent
196477a
commit 136602c
Showing
4 changed files
with
19 additions
and
72 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
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