Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
raizo07 committed Jun 2, 2024
1 parent e47f517 commit bc638b8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions crates/pallets/starknet/src/tests/invoke_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ use starknet_api::core::{ClassHash, CompiledClassHash, ContractAddress, EntryPoi
use starknet_api::hash::StarkFelt;
use starknet_api::state::StorageKey;
use starknet_api::transaction::{
Calldata, ContractAddressSalt, Event as StarknetEvent, EventContent, EventData, EventKey, Fee, InvokeTransactionV0,
TransactionHash, TransactionSignature, InvokeTransaction as StarknetInvokeTransaction
Calldata, ContractAddressSalt, Event as StarknetEvent, EventContent, EventData, EventKey, Fee,
InvokeTransaction as StarknetInvokeTransaction, InvokeTransactionV0, TransactionHash, TransactionSignature,
};
use starknet_core::utils::{get_selector_from_name, get_udc_deployed_address, UdcUniqueSettings, UdcUniqueness};
use starknet_crypto::FieldElement;
Expand Down Expand Up @@ -161,7 +161,13 @@ pub fn create_invoke_dummy_v0_transaction(
let entry_point_selector = EntryPointSelector::default();
let nonce = nonce.unwrap_or(Nonce::default());

StarknetInvokeTransaction::V0(InvokeTransactionV0 { max_fee, signature, contract_address, entry_point_selector, calldata })
StarknetInvokeTransaction::V0(InvokeTransactionV0 {
max_fee,
signature,
contract_address,
entry_point_selector,
calldata,
})
}

#[test]
Expand Down

0 comments on commit bc638b8

Please sign in to comment.