node: update flaming fir (#3508)

* node: reduce block time to 3s and add primary probability constant

* node: update flaming fir chain spec

* node: fix integration test
This commit is contained in:
André Silva
2019-08-28 18:03:54 +01:00
committed by GitHub
parent cc62ee60fe
commit 523c7f681e
4 changed files with 86 additions and 78 deletions
+2 -2
View File
@@ -283,7 +283,7 @@ mod tests {
};
use node_primitives::DigestItem;
use node_runtime::{BalancesCall, Call, UncheckedExtrinsic};
use node_runtime::constants::{currency::CENTS, time::SLOT_DURATION};
use node_runtime::constants::{currency::CENTS, time::{PRIMARY_PROBABILITY, SLOT_DURATION}};
use codec::{Encode, Decode};
use primitives::{
crypto::Pair as CryptoPair, blake2_256,
@@ -404,7 +404,7 @@ mod tests {
slot_num,
&parent_header,
&*service.client(),
(278, 1000),
PRIMARY_PROBABILITY,
&keystore,
) {
break babe_pre_digest;