Skip to content

Commit

Permalink
chore: reformat imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Feb 15, 2024
1 parent 60a9a7d commit ebe9ae7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
5 changes: 2 additions & 3 deletions src/cli/simple/command/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
use std::fmt::{Display, Formatter};
use std::{path::Path, str::FromStr};

use aurora_engine_sdk::types::near_account_to_evm_address;
use aurora_engine_types::account_id::AccountId;
use aurora_engine_types::borsh::{BorshDeserialize, BorshSerialize};
Expand All @@ -19,6 +16,8 @@ use aurora_engine_types::types::Address;
use aurora_engine_types::{types::Wei, H256, U256};
use near_primitives::views::{CallResult, FinalExecutionStatus};
use serde_json::Value;
use std::fmt::{Display, Formatter};
use std::{path::Path, str::FromStr};

use crate::cli::simple::OutputFormat;
use crate::cli::simple::WithdrawSerialization;
Expand Down
4 changes: 1 addition & 3 deletions src/cli/simple/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
use std::fmt::Display;
use std::str::FromStr;

use aurora_engine_types::account_id::AccountId;
use aurora_engine_types::public_key::{KeyType, PublicKey};
use clap::{Parser, Subcommand};
use lazy_static::lazy_static;
use shadow_rs::shadow;
use std::str::FromStr;

pub mod command;

Expand Down
8 changes: 3 additions & 5 deletions src/client/near.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#[cfg(feature = "simple")]
use std::str::FromStr;

use crate::utils;
use aurora_engine_types::borsh::{BorshDeserialize, BorshSerialize};
#[cfg(feature = "advanced")]
use aurora_engine_types::parameters::engine::SubmitResult;
Expand All @@ -21,8 +19,8 @@ use near_primitives::{
hash::CryptoHash, transaction::SignedTransaction, types::AccountId, views,
views::FinalExecutionOutcomeView,
};

use crate::utils;
#[cfg(feature = "simple")]
use std::str::FromStr;

#[cfg(feature = "advanced")]
use super::TransactionOutcome;
Expand Down
3 changes: 1 addition & 2 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use std::path::Path;

use aurora_engine_transactions::legacy::{LegacyEthSignedTransaction, TransactionLegacy};
use aurora_engine_types::{types::Address, U256};
use libsecp256k1::{Message, PublicKey, SecretKey};
use near_crypto::InMemorySigner;
use rlp::RlpStream;
use serde::{Deserialize, Serialize};
use std::path::Path;

pub mod abi;
pub mod ft_metadata;
Expand Down

0 comments on commit ebe9ae7

Please sign in to comment.