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
Migrate frame-system to pallet attribute macro #7898
Merged
Merged
Changes from 38 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
6291431
PRINT_PALLET_UPGRADE=1 cargo check -p frame-system
ascjones 7c1a11f
Copy attributes, imports, mods and type defs
ascjones ea53dde
Copy Config trait
ascjones 519a7f2
Annotate constants
ascjones 7816dc7
Tabify
ascjones a624cc0
Migrate hooks
ascjones 306f023
Upgrade template rename interface to hooks
ascjones 1fb8b3b
Migrate pallet call
ascjones cb8aa19
Migrate Event
ascjones d973e4a
Migrate Error
ascjones 6ee8dba
Migrate Origin
ascjones 2c9d575
Remove optional validate_unsigned
ascjones 21dd9d8
Remove remaining TODO_MAYBE_WHERE_CLAUSE
ascjones fea632a
Overwrite original lib.rs with migrated lib2.rs.
ascjones 32c3aca
Add required Event IsType constraint
ascjones d4fcfc1
Add disable supertrait check
ascjones 68b0316
Fix leftover Trait trait
ascjones 2f8152a
Add missing pallet prefix for weight attributes
ascjones 7eb1fd3
Add missing Error type parameter
ascjones 1de98d7
Add missing Hooks type parameter
ascjones 36295ac
Private call visibility, restore original helper types and helpers etc
ascjones 4983150
Fix hooks type parameter
ascjones a82525e
Rename RawEvent to Event
ascjones 5fead51
Add missing storage type annotations
ascjones 1c436f3
Remove unused imports
ascjones d68661a
Add GenesisConfig helpers for compat
ascjones 7432519
Fix unused import warnings
ascjones d2a2d5b
Update frame/support/procedural/src/storage/print_pallet_upgrade.rs
ascjones b88b122
Fix test errors and warnings
ascjones 73a8225
Fix remaining errors and warnings
ascjones 05d1a6b
Merge remote-tracking branch 'origin/aj-migrate-system' into aj-migra…
ascjones 0b48bb1
Apply review suggestion: fix formatting
ascjones 8fc23c8
Apply review suggestion: annotate BlockLength as constant
ascjones d71ef58
Apply review suggestion: add triling comma
ascjones 3f2dc74
Apply review suggestion: add triling comma
ascjones ba04282
Apply review suggestion: add trailing comma
ascjones e46b920
Apply review suggestion: fix storage type indentation
ascjones 71e689a
Apply review suggestion: remove redundant Origin type alias
ascjones 6aa7b98
Add missing codec derives for BlockLength
ascjones aeced3f
Restore module docs
ascjones 3949b5a
Module -> Pallet renamel
ascjones a3b727f
Revert "Update frame/support/procedural/src/storage/print_pallet_upgr…
ascjones 0831f09
Apply review suggestion: merge crate imports
ascjones 8a0197e
Revert "Upgrade template rename interface to hooks"
ascjones 1709098
Single line import
ascjones 004fa67
Refactor generated genesis build
ascjones 455cb43
Import sp_io::storage
ascjones 33476a1
Revert previous, fully qualify sp_io::storage
ascjones b994fc7
Fix ui tests
ascjones eae729c
Merge branch 'master' into aj-migrate-system
ascjones 2790a29
Merge branch 'master' into aj-migrate-system
ascjones cb4439d
Fix errors after merge, missing changes
ascjones a3d2963
Merge branch 'master' into aj-migrate-system
ascjones 3f95d26
Set UpgradedToDualRefCount to true in genesis build
ascjones aeb9ea1
Annotated Runtime version with constant, exposing it via metadata
ascjones 3bccfa5
Merge branch 'master' into aj-migrate-system
ascjones 23d42c7
Add metadata attribute
ascjones 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
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
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.