diff --git a/crates/humanode-runtime/src/lib.rs b/crates/humanode-runtime/src/lib.rs index f30cca5f5..b524996d0 100644 --- a/crates/humanode-runtime/src/lib.rs +++ b/crates/humanode-runtime/src/lib.rs @@ -658,7 +658,7 @@ impl pallet_evm_balances::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AccountId = EvmAccountId; type Balance = Balance; - type ExistentialDeposit = ConstU128<500>; + type ExistentialDeposit = ConstU128<1>; type AccountStore = EvmSystem; type DustRemoval = currency_swap::TreasuryPotProxy; } diff --git a/crates/humanode-runtime/src/tests/fixed_supply.rs b/crates/humanode-runtime/src/tests/fixed_supply.rs index 713727995..bf689bf40 100644 --- a/crates/humanode-runtime/src/tests/fixed_supply.rs +++ b/crates/humanode-runtime/src/tests/fixed_supply.rs @@ -128,16 +128,18 @@ fn assert_total_issuance() { let evm_existential_deposit = <::ExistentialDeposit as Get>::get(); + let existential_deposit_balance = existential_deposit.max(evm_existential_deposit); + let total_issuance = Balances::total_issuance(); let evm_total_issuance = EvmBalances::total_issuance(); assert_eq!( total_issuance - native_to_evm_swap_bridge_pot, - evm_to_native_swap_bridge_pot - evm_existential_deposit + evm_to_native_swap_bridge_pot - existential_deposit_balance ); assert_eq!( evm_total_issuance - evm_to_native_swap_bridge_pot, - native_to_evm_swap_bridge_pot - existential_deposit + native_to_evm_swap_bridge_pot - existential_deposit_balance ); }