This repository has been 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.6k
Allow to specify some max number of values for storages in pallet macro. #8735
Merged
Commits on May 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0de4775 - Browse repository at this point
Copy the full SHA 0de4775View commit details
Commits on May 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e7c14fb - Browse repository at this point
Copy the full SHA e7c14fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42c4f48 - Browse repository at this point
Copy the full SHA 42c4f48View commit details
Commits on May 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0ca09ee - Browse repository at this point
Copy the full SHA 0ca09eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ada719b - Browse repository at this point
Copy the full SHA ada719bView commit details -
merge both StorageInfoTrait and PalletStorageInfo
I think it is more future proof. In the future some storage could make use of multiple prefix. Like one to store how much value has been inserted, etc...
Configuration menu - View commit details
-
Copy full SHA for 341d3f5 - Browse repository at this point
Copy the full SHA 341d3f5View commit details -
Update frame/support/procedural/src/storage/parse.rs
Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5521953 - Browse repository at this point
Copy the full SHA 5521953View commit details -
Update frame/support/procedural/src/storage/storage_struct.rs
Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02b0cbb - Browse repository at this point
Copy the full SHA 02b0cbbView commit details -
Fix max_size using hasher information
hasher now expose `max_len` which allows to computes their maximum len. For hasher without concatenation, it is the size of the hash part, for hasher with concatenation, it is the size of the hash part + max encoded len of the key.
Configuration menu - View commit details
-
Copy full SHA for 999640b - Browse repository at this point
Copy the full SHA 999640bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7909d7 - Browse repository at this point
Copy the full SHA a7909d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5964c0 - Browse repository at this point
Copy the full SHA e5964c0View commit details
Commits on May 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 15918ff - Browse repository at this point
Copy the full SHA 15918ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc7829 - Browse repository at this point
Copy the full SHA 4fc7829View commit details
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.