-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Adds example for dev_mode and updates doc #13944
Conversation
Ok(()) | ||
} | ||
|
||
#[pallet::call_index(1)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think making this optional is also a clear good next step for dev-mode 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good start, although I hope we can also revise both this and example/ basic
in a more fundamental manner -- I think a lot of the existing features that are put into these example pallets are somewhat nonsensical and could be improved.
I can imagine set of 4 example pallets:
template
: a shell pallet, it is your starting point.basic
: one that has a small set of features, akin to a smart contractkitchensink
: one that has ALL of the features.dev-mode
: meant to demonstrate the difference between the latter anddev-mode
.
I can actually work on this myself as a part of doc-revamp.
Co-authored-by: Kian Paimani <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start!
…ubstrate into gupnik/optional_hashers_doc
* Adds example for dev_mode and updates doc * Addresses review comments * Update frame/examples/dev-mode/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * Addresses review comment --------- Co-authored-by: Kian Paimani <[email protected]>
As discussed in #13815.