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.7k
Add pallet
attribute macro to declare pallets
#6877
Merged
Merged
Commits on Nov 18, 2020
-
rename system Config to system Trait.
command used: ``` find frame/ bin/ test-utils/ utils/ -name *.rs -exec sed -i 's/system::Trait>::/system::Config>::/g' {} \; find frame/ bin/ test-utils/ utils/ -name *.rs -exec sed -i 's/impl frame_system::Trait for /impl frame_system::Config for /g' {} \; find frame/ bin/ test-utils/ utils/ -name *.rs -exec sed -i 's/impl system::Trait for /impl system::Config for /g' {} \; ``` plus some manual ones especially for frame-support tests and frame-system
Configuration menu - View commit details
-
Copy full SHA for b67c866 - Browse repository at this point
Copy the full SHA b67c866View commit details -
make construct_runtime handle Pallet and Module
pallets can now be implemented on struct named Pallet or Module, both definition are valid. This is because next macro will generate only Pallet placeholder.
Configuration menu - View commit details
-
Copy full SHA for 336d3c9 - Browse repository at this point
Copy the full SHA 336d3c9View commit details -
introduce pallet attribute macro
currently just with tests, frame_system and other example hasn't been upgraded
Configuration menu - View commit details
-
Copy full SHA for 942c161 - Browse repository at this point
Copy the full SHA 942c161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e1e8a3 - Browse repository at this point
Copy the full SHA 1e1e8a3View commit details
Commits on Nov 19, 2020
-
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0d9bb3e - Browse repository at this point
Copy the full SHA 0d9bb3eView commit details -
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b48cfc6 - Browse repository at this point
Copy the full SHA b48cfc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc165a3 - Browse repository at this point
Copy the full SHA cc165a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460ccf9 - Browse repository at this point
Copy the full SHA 460ccf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ced0a8 - Browse repository at this point
Copy the full SHA 5ced0a8View commit details
Commits on Nov 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 688f044 - Browse repository at this point
Copy the full SHA 688f044View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ef21f - Browse repository at this point
Copy the full SHA c5ef21fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 240a2a7 - Browse repository at this point
Copy the full SHA 240a2a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1229c33 - Browse repository at this point
Copy the full SHA 1229c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30000d0 - Browse repository at this point
Copy the full SHA 30000d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2148b0 - Browse repository at this point
Copy the full SHA c2148b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5485c8 - Browse repository at this point
Copy the full SHA e5485c8View commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1ff085e - Browse repository at this point
Copy the full SHA 1ff085eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5b745f - Browse repository at this point
Copy the full SHA d5b745fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e8ee8d - Browse repository at this point
Copy the full SHA 8e8ee8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ea926c - Browse repository at this point
Copy the full SHA 3ea926cView commit details
Commits on Nov 30, 2020
-
Apply suggestions code formatting
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bd99a8d - Browse repository at this point
Copy the full SHA bd99a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0adbb30 - Browse repository at this point
Copy the full SHA 0adbb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for c96e1cf - Browse repository at this point
Copy the full SHA c96e1cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a54d6 - Browse repository at this point
Copy the full SHA 04a54d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78789d6 - Browse repository at this point
Copy the full SHA 78789d6View commit details
Commits on Dec 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 96845d8 - Browse repository at this point
Copy the full SHA 96845d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1762c47 - Browse repository at this point
Copy the full SHA 1762c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for a03a4b4 - Browse repository at this point
Copy the full SHA a03a4b4View commit details
Commits on Dec 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4cb71d8 - Browse repository at this point
Copy the full SHA 4cb71d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf7ae7d - Browse repository at this point
Copy the full SHA cf7ae7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88e6995 - Browse repository at this point
Copy the full SHA 88e6995View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1ec690 - Browse repository at this point
Copy the full SHA d1ec690View commit details
Commits on Dec 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3a29683 - Browse repository at this point
Copy the full SHA 3a29683View commit details
Commits on Dec 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9430b34 - Browse repository at this point
Copy the full SHA 9430b34View commit details -
Update frame/support/procedural/src/pallet/parse/event.rs
Co-authored-by: Andrew Jones <ascjones@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 888d121 - Browse repository at this point
Copy the full SHA 888d121View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa68a9 - Browse repository at this point
Copy the full SHA 6fa68a9View commit details
Commits on Dec 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0c6f916 - Browse repository at this point
Copy the full SHA 0c6f916View commit details
Commits on Dec 23, 2020
-
Update frame/system/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 52a654f - Browse repository at this point
Copy the full SHA 52a654fView commit details -
Update frame/support/test/tests/pallet_ui.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 03c7fbf - Browse repository at this point
Copy the full SHA 03c7fbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f23d3c - Browse repository at this point
Copy the full SHA 3f23d3cView commit details -
revert construct_runtime Pallet part.
This revert the changes on construct_runtime. Now construct_runtime is unchanged and instead pallet macro create a type alias `type Module<..> = Pallet<..>` to be used by construct_runtime
Configuration menu - View commit details
-
Copy full SHA for d9d48c7 - Browse repository at this point
Copy the full SHA d9d48c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d56f2b - Browse repository at this point
Copy the full SHA 0d56f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9fdc4b - Browse repository at this point
Copy the full SHA d9fdc4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98cdc0e - Browse repository at this point
Copy the full SHA 98cdc0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae38859 - Browse repository at this point
Copy the full SHA ae38859View commit details
Commits on Dec 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c158e5f - Browse repository at this point
Copy the full SHA c158e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e8a92 - Browse repository at this point
Copy the full SHA 10e8a92View 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.