Introduce storage attr macro `#[disable_try_decode_storage]` and set it on...
Introduce storage attr macro `#[disable_try_decode_storage]` and set it on `System::Events` and `ParachainSystem::HostConfiguration` (#3454) Closes https://github.com/paritytech/polkadot-sdk/issues/2560 Allows marking storage items with `#[disable_try_decode_storage]`, and uses it with `System::Events`. Question: what's the recommended way to write a test for this? I couldn't find a test for similar existing macro `#[whitelist_storage]`.
parent
0cc9b900
Pipeline
#449893
passed
with stages
in
40 minutes and 35 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- cumulus/pallets/parachain-system/src/lib.rs 1 addition, 0 deletionscumulus/pallets/parachain-system/src/lib.rs
- prdoc/pr_3454.prdoc 19 additions, 0 deletionsprdoc/pr_3454.prdoc
- substrate/frame/support/procedural/src/lib.rs 19 additions, 0 deletionssubstrate/frame/support/procedural/src/lib.rs
- substrate/frame/support/procedural/src/pallet/expand/storage.rs 4 additions, 1 deletion...ate/frame/support/procedural/src/pallet/expand/storage.rs
- substrate/frame/support/procedural/src/pallet/parse/storage.rs 22 additions, 2 deletions...rate/frame/support/procedural/src/pallet/parse/storage.rs
- substrate/frame/support/src/lib.rs 15 additions, 2 deletionssubstrate/frame/support/src/lib.rs
- substrate/frame/support/test/tests/pallet_ui/storage_invalid_attribute.stderr 1 addition, 1 deletion...ort/test/tests/pallet_ui/storage_invalid_attribute.stderr
- substrate/frame/system/src/lib.rs 1 addition, 0 deletionssubstrate/frame/system/src/lib.rs
Please register or sign in to comment