Skip to content

Commit

Permalink
cleanup clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Dec 3, 2024
1 parent 67c5bbd commit 7aea3c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion precompiles/balances-erc20/src/eip2612.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ use frame_support::{
ensure,
traits::{Get, Time},
};
use sp_runtime::AccountId32;
use sp_core::H256;
use sp_io::hashing::keccak_256;
use sp_runtime::traits::UniqueSaturatedInto;
use sp_runtime::AccountId32;
use sp_std::vec::Vec;

/// EIP2612 permit typehash.
Expand Down
2 changes: 1 addition & 1 deletion precompiles/balances-erc20/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ use pallet_balances::pallet::{
Instance1, Instance10, Instance11, Instance12, Instance13, Instance14, Instance15, Instance16,
Instance2, Instance3, Instance4, Instance5, Instance6, Instance7, Instance8, Instance9,
};
use sp_runtime::AccountId32;
use pallet_evm::AddressMapping;
use precompile_utils::prelude::*;
use sp_core::{H160, H256, U256};
use sp_runtime::AccountId32;
use sp_std::vec::Vec;
use sp_std::{
convert::{TryFrom, TryInto},
Expand Down
2 changes: 1 addition & 1 deletion precompiles/balances-erc20/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl pallet_evm::Config for Runtime {
type WeightPerGas = WeightPerGas;
type CallOrigin = EnsureAddressRoot<AccountId>;
type WithdrawOrigin = EnsureAddressNever<AccountId>;
type AddressMapping = HashedAddressMapping;
type AddressMapping = AccountId;
type Currency = Balances;
type RuntimeEvent = RuntimeEvent;
type Runner = pallet_evm::runner::stack::Runner<Self>;
Expand Down

0 comments on commit 7aea3c5

Please sign in to comment.