referrerpolicy=no-referrer-when-downgrade

Crate frame_support_test

Source
Expand description

Minimal pallet without frame_system::Config-super trait.

Re-exports§

pub use self::pallet::*;

Modules§

pallet
The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
pallet_prelude
Same semantic as [frame_system].

Structs§

TestRandomness
Provides an implementation of [frame_support::traits::Randomness] that should only be used in tests!

Enums§

RawOrigin
Origin for the System pallet.

Functions§

ensure_root
Ensure that the origin o represents the root. Returns Ok or an Err otherwise.