mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 17:07:56 +00:00
Removes pallet::call_index from dev_mode example (#14492)
* Removes call_index * Adds UI test and updates doc * Update frame/examples/dev-mode/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/examples/dev-mode/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -468,6 +468,8 @@ pub fn construct_runtime(input: TokenStream) -> TokenStream {
|
||||
/// * Weights no longer need to be specified on every `#[pallet::call]` declaration. By default, dev
|
||||
/// mode pallets will assume a weight of zero (`0`) if a weight is not specified. This is
|
||||
/// equivalent to specifying `#[weight(0)]` on all calls that do not specify a weight.
|
||||
/// * Call index no longer needs to be specified on every `#[pallet::call]` declaration. By default,
|
||||
/// dev mode pallets will assume a call index based on the order of the call.
|
||||
/// * All storages are marked as unbounded, meaning you do not need to implement `MaxEncodedLen` on
|
||||
/// storage types. This is equivalent to specifying `#[pallet::unbounded]` on all storage type
|
||||
/// definitions.
|
||||
|
||||
Reference in New Issue
Block a user