From c59955ed815cbc1c086b051dbe37ca39b42d29c2 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 16 Apr 2024 13:59:17 +0800 Subject: [PATCH] Fix --- node/src/chain_spec/pangolin.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/src/chain_spec/pangolin.rs b/node/src/chain_spec/pangolin.rs index af266abc8..85e151dfb 100644 --- a/node/src/chain_spec/pangolin.rs +++ b/node/src/chain_spec/pangolin.rs @@ -174,6 +174,7 @@ pub fn genesis_config() -> ChainSpec { darwinia_staking: DarwiniaStakingConfig { now: SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(), elapsed_time: 0, + max_unstake_ring: 10_000_000 * UNIT, collator_count: 3, collators: vec![ (array_bytes::hex_n_into_unchecked::<_, _, 20>(C1), UNIT), @@ -291,6 +292,7 @@ fn testnet_genesis( darwinia_staking: DarwiniaStakingConfig { now: SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(), elapsed_time: 0, + max_unstake_ring: 10_000_000 * UNIT, collator_count: collators.len() as _, collators: collators.iter().map(|(a, _)| (a.to_owned(), UNIT)).collect(), },