From 7cee1042637cef9a3a4694e19ba85d1a5f9545b5 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 24 Jan 2025 15:15:45 +1000 Subject: [PATCH] TEMP: ignore dead code --- domains/client/domain-operator/src/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/domains/client/domain-operator/src/tests.rs b/domains/client/domain-operator/src/tests.rs index a94f082417..77c798a764 100644 --- a/domains/client/domain-operator/src/tests.rs +++ b/domains/client/domain-operator/src/tests.rs @@ -87,12 +87,14 @@ fn number_of(consensus_node: &MockConsensusNode, block_hash: Hash) -> u32 { /// Generate a self-contained EVM domain extrinsic, which can be passed to /// `runtime_api().check_extrinsics_and_do_pre_dispatch()`. +#[allow(dead_code)] pub fn generate_eth_domain_sc_extrinsic(tx: EthereumTransaction) -> EvmUncheckedExtrinsic { let call = pallet_ethereum::Call::::transact { transaction: tx }; fp_self_contained::UncheckedExtrinsic::new(RuntimeCall::Ethereum(call), None).unwrap() } #[derive(Copy, Clone, Debug, Eq, PartialEq)] +#[allow(dead_code)] pub enum EvmTestCall { Create, Create2, @@ -102,6 +104,7 @@ pub enum EvmTestCall { /// Generate a pallet-evm call, which can be passed to `construct_and_send_extrinsic_with()`. /// `use_create` determines whether to use `create`, `create2`, or a non-create call. /// `recursion_depth` determines the number of `pallet_utility::Call` wrappers to use. +#[allow(dead_code)] pub fn generate_evm_domain_call( account_info: AccountInfo, nonce: Option,