Module polkadot_sdk_frame::weights_prelude
source · Expand description
Prelude to be included in the weight.rs
of each pallet.
pub use polkadot_sdk_frame::weights_prelude::*;
Re-exports§
pub use frame_system;
Structs§
- ParityDB can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.
- Zero-sized type used to mark things that “act like” they own a
T
. - By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.
Traits§
- A trait for querying a single value from a type.