Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/humanode-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
6 changes: 4 additions & 2 deletions crates/humanode-runtime/src/tests/fixed_supply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,18 @@ fn assert_total_issuance() {
let evm_existential_deposit =
<<Runtime as pallet_evm_balances::Config>::ExistentialDeposit as Get<u128>>::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
);
}

Expand Down