fix parameter to match used value GRANDPA benchmarks (#1616)

This commit is contained in:
Svyatoslav Nikolsky
2022-10-24 11:41:37 +03:00
committed by Bastian Köcher
parent 4f796ce803
commit 9592b55fea
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ const MAX_VOTE_ANCESTRIES: u32 = 1000;
// The maximum number of pre-commits to include in a justification. In practice this scales with the
// number of validators.
const MAX_VALIDATOR_SET_SIZE: u32 = 1024;
pub const MAX_VALIDATOR_SET_SIZE: u32 = 1024;
// `1..MAX_VALIDATOR_SET_SIZE` and `1..MAX_VOTE_ANCESTRIES` are too large && benchmarks are
// running for almost 40m (steps=50, repeat=20) on a decent laptop, which is too much. Since