Newer
Older
/// * add_extra_genesis build is written into genesis_build
/// * storages now use PalletInfo for module_prefix instead of the one given to decl_storage:
/// Thus any use of this pallet in `construct_runtime!` should be careful to update name in
/// order not to break storage or to upgrade storage (moreover for instantiable pallet).
/// If pallet is published, make sure to warn about this breaking change.
///
/// # Notes when macro fails to show proper error message spans:
///
/// Rustc loses span for some macro input. Some tips to fix it:
/// * do not use inner attribute:
/// ```ignore
/// #[pallet]
/// pub mod pallet {
/// //! This inner attribute will make span fail
/// ..
/// }
/// ```
/// * use the newest nightly possible.
///
pub use frame_support_procedural::pallet;