referrerpolicy=no-referrer-when-downgrade

Module polkadot_sdk_frame::prelude::frame_system::mocking

Expand description

Provide types to help defining a mock environment when testing pallets.

Type Aliases§

  • An implementation of sp_runtime::traits::Block to be used in tests.
  • An implementation of sp_runtime::traits::Block to be used in tests with u32 BlockNumber type.
  • An implementation of sp_runtime::traits::Block to be used in tests with u128 BlockNumber type.
  • An unchecked extrinsic type to be used in tests.