mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 23:19:49 +00:00
Adds example for dev_mode and updates doc (#13944)
* Adds example for dev_mode and updates doc * Addresses review comments * Update frame/examples/dev-mode/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Addresses review comment --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
1 parent
bb394e08ac
commit
e458bf3795
7 files changed
+320
No files matched your search
@@ -465,6 +465,8 @@ pub fn construct_runtime(input: TokenStream) -> TokenStream {
|
||||
/// * 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.
|
||||
/// * Storage hashers no longer need to be specified and can be replaced by `_`. In dev mode, these
|
||||
/// will be replaced by `Blake2_128Concat`.
|
||||
///
|
||||
/// Note that the `dev_mode` argument can only be supplied to the `#[pallet]` or
|
||||
/// `#[frame_support::pallet]` attribute macro that encloses your pallet module. This argument
|
||||
|
||||
Reference in new issue
Block a user