Skip to content

Commit

Permalink
chore: merge imports in wallet tests (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Oct 14, 2024
1 parent 351ebdb commit 6c929ec
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions crates/wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,13 @@ fn validate_tx_request(request: &TransactionRequest) -> Result<(), OdysseyWallet

#[cfg(test)]
mod tests {
use crate::{Capabilities, DelegationCapability, WalletCapabilities};
use alloy_primitives::{address, map::HashMap};
use crate::{
validate_tx_request, Capabilities, DelegationCapability, OdysseyWalletError,
WalletCapabilities,
};
use alloy_network::TransactionBuilder;
use alloy_primitives::{address, map::HashMap, Address, U256};
use alloy_rpc_types::TransactionRequest;

#[test]
fn ser() {
Expand Down Expand Up @@ -385,12 +390,6 @@ mod tests {
);
}

use alloy_network::TransactionBuilder;
use alloy_primitives::{Address, U256};
use alloy_rpc_types::TransactionRequest;

use crate::{validate_tx_request, OdysseyWalletError};

#[test]
fn no_value_allowed() {
assert_eq!(
Expand Down

0 comments on commit 6c929ec

Please sign in to comment.