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
@@ -144,6 +144,7 @@ impl pallet_timestamp::Config for Test {
parameter_types! {
pub static ExistentialDeposit: Balance = 1;
pub const MaxReserves: u32 = 50;
}
impl pallet_balances::Config for Test {
@@ -154,6 +155,8 @@ impl pallet_balances::Config for Test {
type ExistentialDeposit = ExistentialDeposit;
type AccountStore = System;
type WeightInfo = ();
type MaxReserves = MaxReserves;
type ReserveIdentifier = [u8; 8];
}
impl configuration::Config for Test { }