diff --git a/src/kernel_evm/evm_execution/src/lib.rs b/src/kernel_evm/evm_execution/src/lib.rs index ecb560d4334e151b32205d5b91e10f7df68a52e8..bcbce1a316e0b40d8225713a3580ecd2c4e83a14 100644 --- a/src/kernel_evm/evm_execution/src/lib.rs +++ b/src/kernel_evm/evm_execution/src/lib.rs @@ -23,9 +23,6 @@ pub mod precompiles; pub mod storage; pub mod transaction; -#[cfg(feature = "testing")] -pub mod testing; - extern crate alloc; extern crate tezos_crypto_rs as crypto; extern crate tezos_smart_rollup_debug as debug; diff --git a/src/kernel_evm/evm_execution/src/testing.rs b/src/kernel_evm/evm_execution/src/testing.rs deleted file mode 100644 index 551546f9531f6b55babb8b6d9f3b86bedd9ce8ee..0000000000000000000000000000000000000000 --- a/src/kernel_evm/evm_execution/src/testing.rs +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-FileCopyrightText: 2022-2023 TriliTech -// -// SPDX-License-Identifier: MIT - -//! Generating arbitrary data for testing - -use primitive_types::{H256, U256}; -use proptest::prelude::any; -use proptest::prelude::BoxedStrategy; -use proptest::strategy::Strategy; -use tezos_ethereum::address::EthereumAddress; - -pub fn arb_u256() -> BoxedStrategy { - any::<[u8; 32]>() - .prop_map(|x| U256::from_big_endian(&x)) - .boxed() -} - -pub fn arb_h256() -> BoxedStrategy { - any::<[u8; 32]>().prop_map(H256::from).boxed() -} - -/// Generate an arbitrary Ethereum address for testing -pub fn arb_eth_address() -> BoxedStrategy { - any::<[u8; 20]>().prop_map(|x| x.into()).boxed() -}