From 31df69654d3aebc004ecaa1c4f9cd736e7079ee3 Mon Sep 17 00:00:00 2001 From: Justin Zhou Date: Tue, 15 Mar 2022 01:18:21 -0400 Subject: [PATCH] fix turing vesting (#118) * Change vesting timestamps from 5th of month to 1st of month * add vesting schedule injection for turing * add VestingConfig Co-authored-by: Irsal Alsanea Co-authored-by: Justin Zhou --- node/src/chain_spec/turing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/chain_spec/turing.rs b/node/src/chain_spec/turing.rs index 616fcb216..f51d650fb 100644 --- a/node/src/chain_spec/turing.rs +++ b/node/src/chain_spec/turing.rs @@ -11,7 +11,7 @@ use crate::chain_spec::{ }; use primitives::{AccountId, AuraId, Balance}; use turing_runtime::{ - CouncilConfig, SudoConfig, TechnicalMembershipConfig, ValveConfig, DOLLAR, EXISTENTIAL_DEPOSIT, TOKEN_DECIMALS, + CouncilConfig, SudoConfig, TechnicalMembershipConfig, ValveConfig, VestingConfig, DOLLAR, EXISTENTIAL_DEPOSIT, TOKEN_DECIMALS, }; static TOKEN_SYMBOL: &str = "TUR"; @@ -349,7 +349,7 @@ fn testnet_genesis( sudo: SudoConfig { key: Some(root_key) }, treasury: Default::default(), valve: ValveConfig { start_with_valve_closed: false, closed_gates: pallet_gates_closed }, - vesting: Default::default(), + vesting: VestingConfig { vesting_schedule }, } }