Skip to content

Commit

Permalink
Set tech committee unanimity as Admin for Vesting pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardo-xxnet committed Jan 3, 2022
1 parent eee97b8 commit 5733619
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/phoenixx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,8 @@ impl pallet_vesting::Config for Runtime {
type MinVestedTransfer = MinVestedTransfer;
type WeightInfo = pallet_vesting::weights::SubstrateWeight<Runtime>;
const MAX_VESTING_SCHEDULES: u32 = 28;
// Admin is technical committee unanimity
type AdminOrigin = EnsureTechnicalUnanimity;
}

parameter_types! {
Expand Down
2 changes: 2 additions & 0 deletions runtime/protonet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,8 @@ impl pallet_vesting::Config for Runtime {
type MinVestedTransfer = MinVestedTransfer;
type WeightInfo = pallet_vesting::weights::SubstrateWeight<Runtime>;
const MAX_VESTING_SCHEDULES: u32 = 28;
// Admin is technical committee unanimity
type AdminOrigin = EnsureTechnicalUnanimity;
}

parameter_types! {
Expand Down
2 changes: 2 additions & 0 deletions runtime/xxnetwork/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,8 @@ impl pallet_vesting::Config for Runtime {
type MinVestedTransfer = MinVestedTransfer;
type WeightInfo = weights::pallet_vesting::WeightInfo<Runtime>;
const MAX_VESTING_SCHEDULES: u32 = 28;
// Admin is technical committee unanimity
type AdminOrigin = EnsureTechnicalUnanimity;
}

parameter_types! {
Expand Down

0 comments on commit 5733619

Please sign in to comment.