mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Proposal: Flatten AllPallets and similar types (#11813)
* flratten AllPallets types * feature flag it * fix * fix * fmt * remove todo * Update frame/support/src/traits/metadata.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update frame/support/src/migrations.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * fix * mark as deprecated * add docs * fix ui test? * fmt Co-authored-by: parity-processbot <> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,16 @@
|
||||
// limitations under the License.
|
||||
|
||||
//! Support code for the runtime.
|
||||
//!
|
||||
//! ## Note on Tuple Traits
|
||||
//!
|
||||
//! Many of the traits defined in [`traits`] have auto-implementations on tuples as well. Usually,
|
||||
//! the tuple is a function of number of pallets in the runtime. By default, the traits are
|
||||
//! implemented for tuples of up to 64 items.
|
||||
//
|
||||
// If you have more pallets in your runtime, or for any other reason need more, enabled `tuples-96`
|
||||
// or the `tuples-128` complication flag. Note that these features *will increase* the compilation
|
||||
// of this crate.
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user