Module testing

Source
Expand description

Testing utilities.

Modules§

sr25519
Simple sr25519 (Schnorr-Ristretto) API.

Structs§

Block
Testing block
H256
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
MockCallU64
Wrapper over a u64 that can be used as a RuntimeCall.
TestSignature
A dummy signature type, to match UintAuthorityId.
UintAuthorityId
A dummy type which can be used instead of regular cryptographic primitives.

Type Aliases§

Digest
Header Digest
DigestItem
Digest item
Header
Block Header
TestXt
Extrinsic type with u64 accounts and mocked signatures, used in testing.