co #10662: Require MaxEncodedLen per default (#4746)

* Add `without_storage_info`

The MaxEncodedLen trait is now enforced by default in Substrate.
All pallets missing an implementation need to be marked with
`without_storage_info` now.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove `generate_storage_info`

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add more `without_storage_info`

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Oliver Tale-Yazdi
2022-01-20 13:36:22 +01:00
committed by GitHub
parent b7a05fd40b
commit 3d61cc01db
25 changed files with 187 additions and 165 deletions
@@ -165,6 +165,7 @@ pub mod mock_msg_queue {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);
#[pallet::storage]