[][src]Module sp_runtime::testing

Testing utilities.

Modules

sr25519

Simple sr25519 (Schnorr-Ristretto) API.

Structs

Block

Testing block

ExtrinsicWrapper

An opaque extrinsic wrapper type.

H256

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

Header

Block Header

TestSignature

A dummy signature type, to match UintAuthorityId.

TestXt

Test transaction, tuple of (sender, call, signed_extra) with index only used if sender is some.

UintAuthorityId

A dummy type which can be used instead of regular cryptographic primitives.

Type Definitions

Digest

Header Digest

DigestItem

Digest item