-
Notifications
You must be signed in to change notification settings - Fork 480
Storage rework #1217
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
Closed
Closed
Storage rework #1217
Changes from 40 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
b7a2e81
Added and implemented all primitives of a new storage. Implemented `s…
xgreenx 2c06fcc
Simplified storage straits, moved check for atomic to separate trait.
xgreenx 992706e
Refactored StorageLayout.
xgreenx 17b433a
Updated key to be more readble
xgreenx 09fb544
BE looks better than LE=)
xgreenx 184c550
Fix comment
xgreenx 58c21ac
Removed all storage collections
xgreenx 2a1dea4
Merge branch 'master' into features/storage-rework
xgreenx 5644402
Merged with master. Added tests that `StorageValue` and `StorageMappi…
xgreenx 7e4b56d
Removed `SpreadLayout` and all related stuff and traits.
xgreenx 4ab1b5f
Updated all examples to use the latest changes.
xgreenx 76c50ee
Removed `StorageType2`. `StorageType` is used everywhere now.
xgreenx 750bce2
Merge branch 'master' into features/storage-rework
xgreenx e8bf915
Make clippy happy
xgreenx 6f868fb
Make clippy happy.
xgreenx b74b9fd
Update comment
xgreenx 02f478f
Unified metadata and storage key generation. The metadata contains al…
xgreenx 414d0c0
Merge branch 'master' into features/storage-rework
xgreenx b8e74bd
Update metadata to version 4
xgreenx da38d41
Fixed tests
xgreenx 145850f
Merge branch 'master' into features/storage-rework
xgreenx f107ca1
Implement `TypeInfo` and `StorageLayout` in `storage_item` macro by d…
xgreenx 078a04a
Fix tests
xgreenx f719a74
Merge branch 'master' into features/storage-rework
xgreenx 6fe995c
Merge with new release
xgreenx ca8a270
Temporary use version 3 for metadata
xgreenx 294ffc3
Fix ink-waterfall
xgreenx 9ff2b0c
Size improvements
xgreenx 52d4070
Merge branch 'master' into features/storage-rework
xgreenx 44ec9e7
Merge mother
xgreenx 58c969f
More inline)
xgreenx 8c93461
Revert back optimization with encode. Better to do it in follow up
xgreenx 099442b
More size improvements
xgreenx 377a26d
Revert back panic on pull)
xgreenx 97fa7b3
One more optimization. When it will be end???=)
xgreenx 07d3619
Merge branch 'master' into features/storage-rework
xgreenx 3db8e6d
Added comments why we don't need `extract_from_slice`
xgreenx e88d535
Removed `V4` of metadata. It will be updated in follow-up PR.
xgreenx c34e67c
We need to pass len...)
xgreenx 0e136cf
Make clippy happy
xgreenx 358c00d
Removed `Key`. Prepared the api for transparent hashing.
xgreenx 2aeb623
Remove bench
xgreenx 2d34b1d
Improve of dns example by adding one ref=DDDDDD
xgreenx 88977bc
Merge branch 'master' into features/storage-rework
xgreenx 45390a6
Merge branch 'master' into features/storage-rework
xgreenx 9502e34
Renamed everything. Introduces `Storable`
xgreenx 6441dfc
Make clippy happy
xgreenx 7fa8cd0
Fixed storable tests
xgreenx 334160c
Fixed storable tests and clippy
xgreenx d6bfac6
Fix spellcheck
xgreenx 5f05846
Merge branch 'master' into features/storage-rework
xgreenx e1fe78e
Merge branch 'master' into features/storage-rework
xgreenx 11c86dd
Use unstable functions(with transparent hashing) to work with storage.
xgreenx 345ca79
Fix clippy
xgreenx b8e46bd
Fix readme
xgreenx eae9152
Apply suggestions from code review
xgreenx 2b35bd5
Update crates/lang/ir/src/ir/storage_item/config.rs
xgreenx 1873108
Added suggested panic on unwrap
xgreenx 9436889
Merge branch 'master' into features/storage-rework
xgreenx 188d46d
Update to 4.0.0
xgreenx e6f77d8
Merge branch 'master' into features/storage-rework
xgreenx 9b022f3
Updated errors.
xgreenx 07698e0
Fixed strerr text
xgreenx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,7 @@ mod impls; | |
|
|
||
| use self::{ | ||
| buffer::{ | ||
| EncodeScope, | ||
| ScopedBuffer, | ||
| StaticBuffer, | ||
| }, | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.