Allow construct_runtime to take cfg attributes for pallets (#11818)
* Allow construct_runtime to take cfg attributes for pallets * cargo fmt * Remove commented out code * Fixes * cargo fmt * Remove inaccurate comments * Fix typo * Properly reverse pallets * Fixes * cargo fmt * Add missing newlines
Showing
- substrate/Cargo.lock 11 additions, 0 deletionssubstrate/Cargo.lock
- substrate/frame/support/procedural/Cargo.toml 2 additions, 0 deletionssubstrate/frame/support/procedural/Cargo.toml
- substrate/frame/support/procedural/src/construct_runtime/expand/call.rs 28 additions, 4 deletions...e/support/procedural/src/construct_runtime/expand/call.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/config.rs 18 additions, 3 deletions...support/procedural/src/construct_runtime/expand/config.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/event.rs 35 additions, 8 deletions.../support/procedural/src/construct_runtime/expand/event.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/inherent.rs 37 additions, 18 deletions...pport/procedural/src/construct_runtime/expand/inherent.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/metadata.rs 10 additions, 0 deletions...pport/procedural/src/construct_runtime/expand/metadata.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/origin.rs 37 additions, 8 deletions...support/procedural/src/construct_runtime/expand/origin.rs
- substrate/frame/support/procedural/src/construct_runtime/expand/unsigned.rs 19 additions, 2 deletions...pport/procedural/src/construct_runtime/expand/unsigned.rs
- substrate/frame/support/procedural/src/construct_runtime/mod.rs 174 additions, 43 deletions...ate/frame/support/procedural/src/construct_runtime/mod.rs
- substrate/frame/support/procedural/src/construct_runtime/parse.rs 29 additions, 2 deletions...e/frame/support/procedural/src/construct_runtime/parse.rs
- substrate/frame/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.rs 14 additions, 0 deletions...tests/construct_runtime_ui/feature_gated_system_pallet.rs
- substrate/frame/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.stderr 5 additions, 0 deletions...s/construct_runtime_ui/feature_gated_system_pallet.stderr
- substrate/frame/support/test/tests/construct_runtime_ui/invalid_meta_literal.rs 15 additions, 0 deletions...t/test/tests/construct_runtime_ui/invalid_meta_literal.rs
- substrate/frame/support/test/tests/construct_runtime_ui/invalid_meta_literal.stderr 6 additions, 0 deletions...st/tests/construct_runtime_ui/invalid_meta_literal.stderr
- substrate/frame/support/test/tests/construct_runtime_ui/unsupported_meta_structure.rs 15 additions, 0 deletions.../tests/construct_runtime_ui/unsupported_meta_structure.rs
- substrate/frame/support/test/tests/construct_runtime_ui/unsupported_meta_structure.stderr 6 additions, 0 deletions...ts/construct_runtime_ui/unsupported_meta_structure.stderr
- substrate/frame/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.rs 15 additions, 0 deletions...est/tests/construct_runtime_ui/unsupported_pallet_attr.rs
- substrate/frame/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.stderr 5 additions, 0 deletions...tests/construct_runtime_ui/unsupported_pallet_attr.stderr
- substrate/frame/support/test/tests/pallet.rs 2 additions, 0 deletionssubstrate/frame/support/test/tests/pallet.rs
Please register or sign in to comment