This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
CountedNMap implementation #10621
Merged
paritytech-processbot
merged 71 commits into
paritytech:master
from
Mr-Leshiy:counted-double-map
Aug 4, 2023
Merged
CountedNMap implementation #10621
Changes from 35 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
c04769f
add initial CountedDoubleMap implementation
Mr-Leshiy da34fae
extend CountedDoubleMap functionality
Mr-Leshiy 59f1444
add some traits implementation for CountedStorageDoubleMap
Mr-Leshiy 43db3d0
add basic tests for CountedStorageDoubleMap
Mr-Leshiy 1558d1e
add mutate functions implementation
Mr-Leshiy bf76962
add additional tests
Mr-Leshiy 9cae6fe
add test_option_query test
Mr-Leshiy 42fa3f5
add try_append_decode_len_works, append_decode_len_works tests
Mr-Leshiy c707346
add migrate_keys_works, translate_values tests
Mr-Leshiy 9eb2989
add test_iter_drain_translate test
Mr-Leshiy b2085d7
add test_metadata test
Mr-Leshiy 9b3db6d
add remove_prefix implementation, add test_iter_drain_prefix test
Mr-Leshiy 603f7b6
update
Mr-Leshiy d8138b3
Merge branch 'master' into counted-double-map
Mr-Leshiy e923956
refactor PrefixIterator usage
Mr-Leshiy eac9616
Fix CI build
Mr-Leshiy 34cdbfa
fix storage_ensure_span_are_ok_wrong_gen.rs storage_ensure_span_are_o…
Mr-Leshiy c14de25
Merge branch 'master' into counted-double-map
Mr-Leshiy 845f24e
Merge branch 'master' into counted-double-map
Mr-Leshiy d97d5f6
Merge branch 'master' into counted-double-map
Mr-Leshiy 135fbdd
Merge branch 'master' into counted-double-map
Mr-Leshiy baf9f7f
Merge branch 'master' into counted-double-map
Mr-Leshiy f419589
Merge branch 'master' into counted-double-map
Mr-Leshiy 9af68cb
add counted_nmap implementation
Mr-Leshiy 311534e
add tests, fixes
Mr-Leshiy 050d182
remove counted double map impl
Mr-Leshiy b3318de
Merge branch 'master' into counted-double-map
Mr-Leshiy 8897c27
fix metadata checks
Mr-Leshiy 82fc3d5
Merge branch 'master' into counted-double-map
Mr-Leshiy 71f78b2
update clear func
Mr-Leshiy 802548e
Merge branch 'master' into counted-double-map
Mr-Leshiy 4b2fded
fix clear, clear with prefix
Mr-Leshiy e9e30a9
fix set function
Mr-Leshiy 09583a9
update
Mr-Leshiy 235a605
final fix
Mr-Leshiy cfc599f
Update frame/support/src/storage/types/counted_nmap.rs
Mr-Leshiy 9b800c5
Update frame/support/src/storage/types/counted_nmap.rs
Mr-Leshiy e86cb11
Update frame/support/src/storage/types/counted_nmap.rs
Mr-Leshiy 2a5c778
Merge branch 'master' into counted-double-map
Mr-Leshiy 8a3b79d
fix comments
Mr-Leshiy a781be2
Merge branch 'master' into counted-double-map
Mr-Leshiy 7f0a8b1
Merge branch 'master' into counted-double-map
Mr-Leshiy e238146
fix suggestion
Mr-Leshiy f8e411b
cargo update
Mr-Leshiy 226c24b
Relocate impl of Sealed for Ref to module root
KiChjang e4905c8
Merge branch 'master' into counted-double-map
Mr-Leshiy 244aa02
Merge branch 'master' into counted-double-map
Mr-Leshiy 9be8183
Merge branch 'master' into counted-double-map
Mr-Leshiy 7b08187
fix StorageEntryMetadata type
Mr-Leshiy 9c8b348
Update frame/support/src/storage/types/nmap.rs
Mr-Leshiy ac99475
removed StorageNMap and StoragePrefixedMap traits impl
Mr-Leshiy 687ddfa
fix tests
Mr-Leshiy 2cfb6ca
Update frame/support/src/storage/types/counted_nmap.rs
Mr-Leshiy ff2fa82
extend pallet::storage macro with CountedStorageNMap usage
Mr-Leshiy c2f7824
Merge branch 'master' into counted-double-map
Mr-Leshiy c9c3efe
fix
Mr-Leshiy 918f8e7
add tests
Mr-Leshiy 2aa851b
fix
Mr-Leshiy 1d192b6
fix
Mr-Leshiy 88d4423
Add counter_storage_final_key(), map_storage_final_prefix() functions
Mr-Leshiy fd52cac
Merge branch 'master' into counted-double-map
Mr-Leshiy 3f72c95
update tests
Mr-Leshiy fe9d733
fix
Mr-Leshiy 19a70a6
fix
Mr-Leshiy 7739ac2
fix
Mr-Leshiy 48faea8
update tests
Mr-Leshiy abb1cb9
Merge branch 'master' into counted-double-map
Mr-Leshiy 8624682
Merge branch 'master' into counted-double-map
Mr-Leshiy 3ef9de9
fix fmt
Mr-Leshiy 4c29a0e
fix fmt
Mr-Leshiy 6defd61
Merge remote-tracking branch 'origin/master' into counted-double-map
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
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.