referrerpolicy=no-referrer-when-downgrade

Module run

Source
Expand description

Types to run a pre-compile during testing or benchmarking.

Use the types exported from this module in order to test or benchmark your pre-compile. Module only exists when compiles for benchmarking or tests.

Re-exports§

pub use crate::BalanceOf;
pub use crate::MomentOf;

Structs§

CallSetup
A builder used to prepare a contract call.
Contract
An instantiated and deployed contract.
H256
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
U256
Little-endian large integer type 256-bit unsigned integer.
VmBinaryModule
A vm binary module ready to be put on chain.

Functions§

precompile
Convenience function to run pre-compiles for testing or benchmarking purposes.