Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Oct 10, 2024
1 parent a0662d8 commit 904872c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion precompiles/balances-erc20/src/eip2612.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use sp_core::H256;
use sp_io::hashing::keccak_256;
use sp_runtime::traits::UniqueSaturatedInto;
use sp_runtime::AccountId32;
use sp_runtime::AccountId32;
use sp_std::vec::Vec;

/// EIP2612 permit typehash.
Expand Down
1 change: 0 additions & 1 deletion precompiles/balances-erc20/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use pallet_evm::AddressMapping;
use precompile_utils::prelude::*;
use sp_core::{H160, H256, U256};
use sp_runtime::AccountId32;
use sp_runtime::AccountId32;
use sp_std::vec::Vec;
use sp_std::{
convert::{TryFrom, TryInto},
Expand Down
4 changes: 2 additions & 2 deletions precompiles/balances-erc20/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,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 Expand Up @@ -282,4 +282,4 @@ impl ExtBuilder {

pub(crate) fn events() -> Vec<RuntimeEvent> {
System::events().into_iter().map(|r| r.event).collect::<Vec<_>>()
}
}

0 comments on commit 904872c

Please sign in to comment.