Module sp_runtime::testing

source ·
Expand description

Testing utilities.


  • Simple sr25519 (Schnorr-Ristretto) API.


  • Testing block
  • An opaque extrinsic wrapper type.
  • Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
  • A dummy signature type, to match UintAuthorityId.
  • Test transaction, tuple of (sender, call, signed_extra) with index only used if sender is some.
  • A dummy type which can be used instead of regular cryptographic primitives.

Type Aliases