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
Improve handling of unset StorageVersion
#13417
Merged
Merged
Commits on Feb 19, 2023
-
Improve handling of unset
StorageVersion
When a user is forgetting to set the storage version in a pallet and calls `current_storage_version` to compare it against the `on_chain_storage_version` it will now fail to compile the code. Before the pallet macro just returned `StorageVersion::default()` for `current_storage_version` leading to potential issues with migrations. Besides that it also checks in `post_upgrade` that the pallet storage version was upgraded and thus, no migration was missed.
Configuration menu - View commit details
-
Copy full SHA for 57d5de1 - Browse repository at this point
Copy the full SHA 57d5de1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ec109 - Browse repository at this point
Copy the full SHA 35ec109View commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21595de - Browse repository at this point
Copy the full SHA 21595deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2467c47 - Browse repository at this point
Copy the full SHA 2467c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b844b - Browse repository at this point
Copy the full SHA f0b844bView commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1732b68 - Browse repository at this point
Copy the full SHA 1732b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399af7b - Browse repository at this point
Copy the full SHA 399af7bView commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4faffc - Browse repository at this point
Copy the full SHA f4faffcView commit details -
Update frame/support/procedural/src/pallet/expand/hooks.rs
Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cfefade - Browse repository at this point
Copy the full SHA cfefadeView commit details -
Update frame/support/procedural/src/pallet/expand/hooks.rs
Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 43ee1a0 - Browse repository at this point
Copy the full SHA 43ee1a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8021dfa - Browse repository at this point
Copy the full SHA 8021dfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f0626b - Browse repository at this point
Copy the full SHA 7f0626bView commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2babce7 - Browse repository at this point
Copy the full SHA 2babce7View commit details -
Apply suggestions from code review
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8451fc5 - Browse repository at this point
Copy the full SHA 8451fc5View commit details
Commits on May 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ff5428 - Browse repository at this point
Copy the full SHA 2ff5428View commit details
Commits on May 4, 2023
-
Merge remote-tracking branch 'origin/master' into bkchr-something-sto…
…rage-version
parity-processbot committedMay 4, 2023 Configuration menu - View commit details
-
Copy full SHA for dd3ccd0 - Browse repository at this point
Copy the full SHA dd3ccd0View 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.