mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Require MaxEncodedLen per default (#10662)
* Remove generate_storage_info Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add without_storage_info where needed Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update doc tests 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> * fix TryBuild Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fix TryBuild tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
6b60c3dbff
commit
362a6d9b28
@@ -1967,7 +1967,7 @@ pub mod pallet_prelude {
|
||||
/// pub trait Config: frame_system::Config {
|
||||
/// #[pallet::constant] // put the constant in metadata
|
||||
/// type MyGetParam: Get<u32>;
|
||||
/// type Balance: Parameter + From<u8>;
|
||||
/// type Balance: Parameter + MaxEncodedLen + From<u8>;
|
||||
/// type Event: From<Event<Self>> + IsType<<Self as frame_system::Config>::Event>;
|
||||
/// }
|
||||
///
|
||||
@@ -2156,7 +2156,7 @@ pub mod pallet_prelude {
|
||||
/// pub trait Config<I: 'static = ()>: frame_system::Config {
|
||||
/// #[pallet::constant]
|
||||
/// type MyGetParam: Get<u32>;
|
||||
/// type Balance: Parameter + From<u8>;
|
||||
/// type Balance: Parameter + MaxEncodedLen + From<u8>;
|
||||
/// type Event: From<Event<Self, I>> + IsType<<Self as frame_system::Config>::Event>;
|
||||
/// }
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user