Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 7d19fb0

Browse files
authored
Milestone 1 (#144)
* use best_finalized, prevent race * make best_finalized_block an Option, should_vote_on bails on None * Bump futures from 0.3.13 to 0.3.14 * Revert futures bump * Revert "Revert futures bump" This reverts commit a1b5e7e9bac526f2897ebfdfee7f02dd29a13ac5. * Revert "Bump futures from 0.3.13 to 0.3.14" This reverts commit a4e508b118ad2c4b52909d24143c284073961458. * debug msg if the bail voting * validator_set() * local_id() * get rid of worker state * Apply review suggestions * fix should_vote_on()
1 parent b080a7d commit 7d19fb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

primitives/beefy/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ pub mod ecdsa {
6666
/// The `ConsensusEngineId` of BEEFY.
6767
pub const BEEFY_ENGINE_ID: sp_runtime::ConsensusEngineId = *b"BEEF";
6868

69+
/// Authority set id starts with zero at genesis
70+
pub const GENESIS_AUTHORITY_SET_ID: u64 = 0;
71+
6972
/// A typedef for validator set id.
7073
pub type ValidatorSetId = u64;
7174

0 commit comments

Comments
 (0)