Named reserve companion (#3176)

* fix build

* fix tests

* update

* fix

* update

* Bump

Co-authored-by: Bryan Chen <xlchen1291@gmail.com>
This commit is contained in:
Gavin Wood
2021-06-04 11:17:59 +02:00
committed by GitHub
parent 8223d3ae71
commit 3d6df31cbe
15 changed files with 208 additions and 164 deletions
+3
View File
@@ -205,6 +205,7 @@ impl pallet_indices::Config for Runtime {
parameter_types! {
pub storage ExistentialDeposit: Balance = 1 * CENTS;
pub storage MaxLocks: u32 = 50;
pub const MaxReserves: u32 = 50;
}
impl pallet_balances::Config for Runtime {
@@ -214,6 +215,8 @@ impl pallet_balances::Config for Runtime {
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type MaxLocks = MaxLocks;
type MaxReserves = MaxReserves;
type ReserveIdentifier = [u8; 8];
type WeightInfo = ();
}