diff --git a/crates/ef-testing/src/evm_sequencer/utils.rs b/crates/ef-testing/src/evm_sequencer/utils.rs index 32839f8d..c520bf19 100644 --- a/crates/ef-testing/src/evm_sequencer/utils.rs +++ b/crates/ef-testing/src/evm_sequencer/utils.rs @@ -1,6 +1,3 @@ -/* trunk-ignore(clippy/unused_imports) */ -use super::constants::KAKAROT_ADDRESS; - use super::constants::{RELAYER_ADDRESS, RELAYER_SIGNING_KEY}; use super::types::felt::FeltSequencer; use bytes::BytesMut; @@ -43,10 +40,10 @@ pub fn felt_to_bytes(felt: &FieldElement, start: usize) -> Bytes { felt.to_bytes_be()[start..].to_vec().into() } +#[allow(unused_variables)] // necessary for starknet_address which is behind a flag /// Converts an signed transaction and a signature to a Starknet-rs transaction. pub fn to_broadcasted_starknet_transaction( transaction: &TransactionSigned, - /* trunk-ignore(clippy/unused_variables) */ starknet_address: FieldElement, relayer_nonce: FieldElement, ) -> Result { @@ -92,6 +89,7 @@ pub fn to_broadcasted_starknet_transaction( let mut execute_from_outside_calldata: Vec = { #[cfg(feature = "v0")] { + use crate::evm_sequencer::constants::KAKAROT_ADDRESS; vec![ (*RELAYER_ADDRESS.0.key()).into(), // caller -- OutsideExecution FieldElement::ZERO, // nonce (not used)