Skip to content

Commit 7cee104

Browse files
committed
TEMP: ignore dead code
1 parent 067c829 commit 7cee104

File tree

1 file changed

+3
-0
lines changed
  • domains/client/domain-operator/src

1 file changed

+3
-0
lines changed

domains/client/domain-operator/src/tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,14 @@ fn number_of(consensus_node: &MockConsensusNode, block_hash: Hash) -> u32 {
8787

8888
/// Generate a self-contained EVM domain extrinsic, which can be passed to
8989
/// `runtime_api().check_extrinsics_and_do_pre_dispatch()`.
90+
#[allow(dead_code)]
9091
pub fn generate_eth_domain_sc_extrinsic(tx: EthereumTransaction) -> EvmUncheckedExtrinsic {
9192
let call = pallet_ethereum::Call::<TestRuntime>::transact { transaction: tx };
9293
fp_self_contained::UncheckedExtrinsic::new(RuntimeCall::Ethereum(call), None).unwrap()
9394
}
9495

9596
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
97+
#[allow(dead_code)]
9698
pub enum EvmTestCall {
9799
Create,
98100
Create2,
@@ -102,6 +104,7 @@ pub enum EvmTestCall {
102104
/// Generate a pallet-evm call, which can be passed to `construct_and_send_extrinsic_with()`.
103105
/// `use_create` determines whether to use `create`, `create2`, or a non-create call.
104106
/// `recursion_depth` determines the number of `pallet_utility::Call` wrappers to use.
107+
#[allow(dead_code)]
105108
pub fn generate_evm_domain_call(
106109
account_info: AccountInfo,
107110
nonce: Option<U256>,

0 commit comments

Comments
 (0)