From e3a3d05350e158227a7f7eb2519fa5944b538d27 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Sat, 15 Feb 2020 15:14:17 +0100 Subject: [PATCH] Make ED not zero (#838) --- polkadot/runtime/common/src/claims.rs | 3 +-- polkadot/runtime/common/src/crowdfund.rs | 2 +- polkadot/runtime/common/src/parachains.rs | 2 +- polkadot/runtime/common/src/registrar.rs | 2 +- polkadot/runtime/common/src/slots.rs | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/polkadot/runtime/common/src/claims.rs b/polkadot/runtime/common/src/claims.rs index 14a1296a02..ff9e55b4de 100644 --- a/polkadot/runtime/common/src/claims.rs +++ b/polkadot/runtime/common/src/claims.rs @@ -338,8 +338,7 @@ mod tests { } parameter_types! { - pub const ExistentialDeposit: u64 = 0; - pub const TransferFee: u64 = 0; + pub const ExistentialDeposit: u64 = 1; pub const CreationFee: u64 = 0; } diff --git a/polkadot/runtime/common/src/crowdfund.rs b/polkadot/runtime/common/src/crowdfund.rs index 0383834986..c395ebe0eb 100644 --- a/polkadot/runtime/common/src/crowdfund.rs +++ b/polkadot/runtime/common/src/crowdfund.rs @@ -616,7 +616,7 @@ mod tests { type ModuleToIndex = (); } parameter_types! { - pub const ExistentialDeposit: u64 = 0; + pub const ExistentialDeposit: u64 = 1; pub const CreationFee: u64 = 0; } impl balances::Trait for Test { diff --git a/polkadot/runtime/common/src/parachains.rs b/polkadot/runtime/common/src/parachains.rs index 9fa89eacbc..750186ea05 100644 --- a/polkadot/runtime/common/src/parachains.rs +++ b/polkadot/runtime/common/src/parachains.rs @@ -944,7 +944,7 @@ mod tests { } parameter_types! { - pub const ExistentialDeposit: Balance = 0; + pub const ExistentialDeposit: Balance = 1; pub const CreationFee: Balance = 0; } diff --git a/polkadot/runtime/common/src/registrar.rs b/polkadot/runtime/common/src/registrar.rs index 3efdcaa45e..69eaf3e9d8 100644 --- a/polkadot/runtime/common/src/registrar.rs +++ b/polkadot/runtime/common/src/registrar.rs @@ -706,7 +706,7 @@ mod tests { } parameter_types! { - pub const ExistentialDeposit: Balance = 0; + pub const ExistentialDeposit: Balance = 1; pub const CreationFee: Balance = 0; } diff --git a/polkadot/runtime/common/src/slots.rs b/polkadot/runtime/common/src/slots.rs index 46ff147373..1fab6c58c9 100644 --- a/polkadot/runtime/common/src/slots.rs +++ b/polkadot/runtime/common/src/slots.rs @@ -918,7 +918,7 @@ mod tests { } parameter_types! { - pub const ExistentialDeposit: u64 = 0; + pub const ExistentialDeposit: u64 = 1; pub const CreationFee: u64 = 0; }