Module frame::runtime::types_common

source ·
Expand description

A set of opinionated types aliases commonly used in runtimes.

This is one set of opinionated types. They are compatible with one another, but are not guaranteed to work if you start tweaking a portion.

Some note-worthy opinions in this prelude:

  • u32 block number.
  • [sp_runtime::MultiAddress] and [sp_runtime::MultiSignature] are used as the account id and signature types. This implies that this prelude can possibly used with an “account-index” system (eg pallet-indices). And, in any case, it should be paired with AccountIdLookup in frame_system::Config::Lookup.

Type Definitions