referrerpolicy=no-referrer-when-downgrade

Module run

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;
pub use crate::call_builder::CallSetup;
pub use crate::call_builder::Contract;
pub use crate::call_builder::VmBinaryModule;

Structs§

H256
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
U256
Little-endian large integer type 256-bit unsigned integer.

Functions§

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