Update Polkadot (#4561)

* add existential deposit

* cargo +nightly fmt

* add EXISTENTIAL_DEPOSIT to runtimes
This commit is contained in:
Doordashcon
2021-12-20 10:44:23 +01:00
committed by GitHub
parent a5bbe0d0be
commit f4cd958ef1
6 changed files with 12 additions and 3 deletions
@@ -20,6 +20,9 @@
pub mod currency {
use primitives::v0::Balance;
/// The existential deposit.
pub const EXISTENTIAL_DEPOSIT: Balance = 1 * CENTS;
pub const UNITS: Balance = 1_000_000_000_000;
pub const CENTS: Balance = UNITS / 100;
pub const MILLICENTS: Balance = CENTS / 1_000;