Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

macro stubs for all pallet:: macros to improve documentation visibility and discovery + revamp of pallet macro documentation #12334

Merged
merged 106 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
5931cd4
proof of concept working for pallet::whitelist_storage
sam0x17 Sep 23, 2022
fb1ea7a
fix comments
sam0x17 Sep 25, 2022
1e162d7
pallet macros docs rewrite WIP
sam0x17 Sep 26, 2022
ed11e0f
fix issue with cargo fmt cobbling links
sam0x17 Sep 28, 2022
edbda26
tweak capitalization
sam0x17 Sep 28, 2022
9b75562
fix docs for storage_version
sam0x17 Sep 28, 2022
3566434
fix docs for pallet::hooks
sam0x17 Sep 28, 2022
2c27f6c
fix several comments
sam0x17 Sep 28, 2022
9439053
fix invalid link
sam0x17 Sep 28, 2022
f9239c5
fix wrapping and add missing links for pallet::hooks docs
sam0x17 Sep 28, 2022
09a3ead
run rewrap on all text blocks in frame_support::pallet docs
sam0x17 Sep 28, 2022
fe972e9
cargo fmt
sam0x17 Sep 28, 2022
e86a0d3
fix up pallet::call_index docs
sam0x17 Sep 29, 2022
6d05cba
fix docs for pallet::extra_constants
sam0x17 Sep 29, 2022
24bed11
fix docs for pallet::error
sam0x17 Sep 29, 2022
5beca5c
fix docs for pallet::event
sam0x17 Sep 29, 2022
8864034
fix docs for pallet::event
sam0x17 Sep 29, 2022
0b66ec3
* fix docs for pallet::storage
sam0x17 Sep 29, 2022
0fde7a5
fix docs for pallet::type_value
sam0x17 Sep 29, 2022
8569630
fix docs for pallet::genesis_config
sam0x17 Sep 29, 2022
dbeee88
fix docs for pallet::genesis_build
sam0x17 Sep 29, 2022
c47d1a1
fix docs for pallet::inherent
sam0x17 Sep 29, 2022
e450a25
fix docs for pallet::validate_unsigned
sam0x17 Sep 29, 2022
7f3d262
fix docs for pallet::origin
sam0x17 Sep 29, 2022
21ad0dd
fix docs for general notes on instantiable pallets
sam0x17 Sep 29, 2022
a1c9b1d
fix docs for example of a non-instantiable pallet
sam0x17 Sep 29, 2022
834ff08
fix docs for example of an instantiable pallet
sam0x17 Sep 29, 2022
45872e1
fix docs for upgrade guidelines
sam0x17 Sep 30, 2022
ef70d0e
fix docs for upgrade guidelines
sam0x17 Sep 30, 2022
233f2f2
fix docs for upgrade checking and final notes
sam0x17 Sep 30, 2022
ec86930
fix some examples near the beginning
sam0x17 Sep 30, 2022
57d4b51
extract docs for `pallet::whitelist_storage`
sam0x17 Oct 1, 2022
83c339d
add docs for pallet_macro_stub
sam0x17 Oct 1, 2022
fc3cfb8
fix order of pallet::config and pallet::constant
sam0x17 Oct 1, 2022
e9467f4
set up stub for pallet::config
sam0x17 Oct 2, 2022
cd6c66a
set up stub for pallet::constant
sam0x17 Oct 2, 2022
10d405e
fix
sam0x17 Oct 2, 2022
24bb4fb
set up stub for pallet::disable_frame_system_supertrait_check
sam0x17 Oct 2, 2022
08e5da1
set up stub for pallet::generate_storage_info
sam0x17 Oct 2, 2022
a2aaf28
set up stub for pallet::storage_version
sam0x17 Oct 2, 2022
23f4553
set up stub for pallet::hooks
sam0x17 Oct 2, 2022
8942298
set up stub for pallet::weight
sam0x17 Oct 3, 2022
441d80b
set up stub for pallet::compact
sam0x17 Oct 3, 2022
0fa5795
set up stub for pallet::call_index
sam0x17 Oct 3, 2022
52992e3
set up stub for pallet::extra_constants
sam0x17 Oct 3, 2022
2824c4c
set up stub for pallet::error
sam0x17 Oct 3, 2022
357e3ec
set up stub for pallet::event
sam0x17 Oct 3, 2022
958d75a
set up stub for pallet::generate_deposit
sam0x17 Oct 3, 2022
69fb7d3
set up stub for pallet::storage
sam0x17 Oct 3, 2022
ad43d32
set up stub for pallet::getter
sam0x17 Oct 3, 2022
c62fac1
set up stub for pallet::storage_prefix
sam0x17 Oct 3, 2022
4d46207
set up stub for pallet::unbounded
sam0x17 Oct 3, 2022
c5b836b
set up stub for pallet::type_value
sam0x17 Oct 3, 2022
7680b3a
set up stub for pallet::genesis_config
sam0x17 Oct 3, 2022
57b00bf
set up stub for pallet::genesis_build
sam0x17 Oct 3, 2022
3054ba5
set up stub for pallet::inherent
sam0x17 Oct 3, 2022
1b2324a
set up stub for pallet::validate_unsigned
sam0x17 Oct 3, 2022
8932aa4
set up stub for pallet::origin
sam0x17 Oct 3, 2022
fa5ab2b
fix comment
sam0x17 Oct 3, 2022
961b5c0
cargo fmt
sam0x17 Oct 3, 2022
055be6d
tweak error message
sam0x17 Oct 3, 2022
0a77102
Update frame/support/procedural/src/lib.rs
sam0x17 Oct 4, 2022
73e7ad2
Update frame/support/procedural/src/lib.rs
sam0x17 Oct 4, 2022
084449f
switch order of derives
sam0x17 Oct 4, 2022
df708fe
tweak wording
sam0x17 Oct 4, 2022
01d112f
add more context info about `MAX_MODULE_ERROR_ENCODED_SIZE`
sam0x17 Oct 4, 2022
f7025d9
tweak wording about where clause
sam0x17 Oct 4, 2022
3484366
clarify wording about system/events key
sam0x17 Oct 4, 2022
aca4b88
use "The Event enum" instead of "item"
sam0x17 Oct 4, 2022
ab011b7
fix bad wording
sam0x17 Oct 4, 2022
2de52d8
use enum instead of type
sam0x17 Oct 4, 2022
ad95e96
expect => expects
sam0x17 Oct 4, 2022
7456d85
add additional note about storage prefix
sam0x17 Oct 4, 2022
b1be6d9
clearer note about GenesisConfig
sam0x17 Oct 4, 2022
0fb40cf
Use "The impl" instead of "The item"
sam0x17 Oct 4, 2022
876cb51
add note and link to tight-coupling docs
sam0x17 Oct 4, 2022
aa660c1
cargo fmt
sam0x17 Oct 4, 2022
1a4445d
remove spaces around parenthesis
sam0x17 Oct 4, 2022
cdf2810
fix missing text for pallet::config
sam0x17 Oct 4, 2022
09abfdb
fix issue with pallet::constant intro
sam0x17 Oct 4, 2022
ec0aa0d
fix wording about codec index
sam0x17 Oct 4, 2022
4803e38
fix pallet::error wording
sam0x17 Oct 4, 2022
01c70ed
fix comment about 1 byte => 256 errors
sam0x17 Oct 4, 2022
39501b1
fix where clause comment
sam0x17 Oct 4, 2022
99d2f2b
fix comment about where pallet events are stored
sam0x17 Oct 4, 2022
15894a5
rewrap some text
sam0x17 Oct 4, 2022
846c597
fix pallet::storage docs
sam0x17 Oct 4, 2022
fecc8c6
fix pallet::storage_prefix docs
sam0x17 Oct 4, 2022
2651132
tweak docs for pallet::genesis_build
sam0x17 Oct 4, 2022
4c9cd52
tweak docs for pallet::config
sam0x17 Oct 4, 2022
fe39bbf
specify that pallet::event must be present if pallet::config is present
sam0x17 Oct 5, 2022
e4340b6
add note about why we would want to bypass the supertrait check
sam0x17 Oct 5, 2022
9cdf008
mention that pallet::generate_store attribute is only valid on pallet…
sam0x17 Oct 5, 2022
37c0353
add note about adding new calls to the end to maintain existing order
sam0x17 Oct 5, 2022
b8fb7ba
add note about pallet::type_value and pallet::storage
sam0x17 Oct 5, 2022
b605388
add note about using pallet::type_value alongside pallet::storage
sam0x17 Oct 5, 2022
d52c77b
include warning about modifying disaptchables on other pallet::call_i…
sam0x17 Oct 5, 2022
7b05518
fix incorrect comment
sam0x17 Oct 5, 2022
5a5e192
add much more information for pallet::inherent
sam0x17 Oct 5, 2022
2b94719
move pallet::pallet macro expansion notes back to their rightful place
sam0x17 Oct 6, 2022
9d2c8d0
re-run CI
sam0x17 Oct 6, 2022
e8fa527
Merge remote-tracking branch 'origin/master' into sam-fix-pallet-macr…
Oct 6, 2022
4ded9e1
fix macro expansion appearing in wrong place for pallet::pallet
sam0x17 Oct 6, 2022
0d57402
replicate pallet::pallet docs on the pallet::pallet macro stub
sam0x17 Oct 6, 2022
a0c7aa9
Merge remote-tracking branch 'origin/master' into sam-fix-pallet-macr…
Oct 6, 2022
5e8bf06
force CI re-run
sam0x17 Oct 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading