Skip to content

Commit

Permalink
TEMP: ignore dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jan 24, 2025
1 parent 067c829 commit 7cee104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions domains/client/domain-operator/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<TestRuntime>::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,
Expand All @@ -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<U256>,
Expand Down

0 comments on commit 7cee104

Please sign in to comment.