1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! Zink testing framework.
#![deny(missing_docs)]

mod bytes;
mod contract;
mod evm;
mod lookup;

pub use self::{
    bytes::Bytes32,
    contract::Contract,
    evm::{Info, EVM},
};
pub use hex;
pub use revm::primitives::{Halt, OutOfGasError, U256};
pub use tracing as log;
pub use zabi::selector::keccak256;

/// Set up the logger.
pub fn setup_logger() {
    tracing_subscriber::fmt()
        .with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
        .without_time()
        .compact()
        .try_init()
        .ok();
}