Crate substrate_test_runtime[][src]

Expand description

The Substrate runtime. This can be compiled with #[no_std], ready for Wasm.

Modules

Tool for creating the genesis block.

System manager: Handles all of the top-level stuff; executing block/transaction, setting code and depositing logs.

Structs

A type that can not be decoded.

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

Implements all runtime apis for the client side.

Unit type wrapper that represents a slot.

Calls in transactions.

Enums

Types of allowed slots.

Extrinsic for test-runtime.

Constants

Test runtime version.

Traits

Functions

Native version.

Run whatever tests we have.

Wasm binary unwrapped. If built with SKIP_WASM_BUILD, the function panics.

Wasm binary unwrapped. If built with SKIP_WASM_BUILD, the function panics.

Type Definitions

An identifier for an account on this system.

The signature type used by accounts/transactions.

A Babe authority identifier. Necessarily equivalent to the schnorrkel public key used in the main Babe module. If that ever changes, then this must, too.

A test block.

The block number type used in this runtime.

The digest of a block.

The item of a block digest.

A simple hash type for all our hashing.

The hashing algorithm used.

A test block’s header.

Index of a transaction.