multiversx_chain_vm/
lib.rs

1// TODO: remove once minimum version is 1.87+
2#![allow(unknown_lints)]
3#![allow(clippy::collapsible_if)]
4#![allow(clippy::manual_is_multiple_of)]
5
6pub mod blockchain;
7pub mod builtin_functions;
8pub mod crypto_functions;
9pub mod display_util;
10pub mod executor_impl;
11pub mod host;
12pub mod schedule;
13pub mod system_sc;
14pub mod types;
15pub mod vm_err_msg;
16pub mod with_shared;
17
18pub use blockchain::BlockchainMock;
19
20// Re-exporting the executor, for convenience.
21pub use multiversx_chain_vm_executor as executor;
22
23// Re-exporting the VM-core, for convenience.
24pub use multiversx_chain_core as chain_core;
25
26#[macro_use]
27extern crate alloc;
28
29#[cfg(feature = "bls")]
30pub mod crypto_functions_bls;
31
32#[cfg(feature = "bls")]
33pub use multiversx_bls::{BlsError, G1, G2};