mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 18:57:57 +00:00
Add documentation around pallet coupling (#3542)
substrate.io deprecation companion: https://github.com/substrate-developer-hub/substrate-docs/pull/2139 pba-content companion: https://github.com/Polkadot-Blockchain-Academy/pba-content/pull/978 partially inspired by: https://github.com/paritytech/polkadot-sdk/issues/3535 --------- Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
This commit is contained in:
@@ -1531,9 +1531,8 @@ pub mod pallet_macros {
|
||||
/// The attribute currently only supports enum definitions, and identifiers that are named
|
||||
/// `FreezeReason`, `HoldReason`, `LockId` or `SlashReason`. Arbitrary identifiers for the
|
||||
/// enum are not supported. The aggregate enum generated by
|
||||
/// [`frame_support::construct_runtime`](frame_support::construct_runtime) will have the
|
||||
/// name of `RuntimeFreezeReason`, `RuntimeHoldReason`, `RuntimeLockId` and
|
||||
/// `RuntimeSlashReason` respectively.
|
||||
/// [`frame_support::construct_runtime`] will have the name of `RuntimeFreezeReason`,
|
||||
/// `RuntimeHoldReason`, `RuntimeLockId` and `RuntimeSlashReason` respectively.
|
||||
///
|
||||
/// NOTE: The aggregate enum generated by `construct_runtime` generates a conversion
|
||||
/// function from the pallet enum to the aggregate enum, and automatically derives the
|
||||
|
||||
Reference in New Issue
Block a user