Fix HeadersToKeep and MaxBridgedAuthorities in Millau benchmarks (#1851)

* fix `HeadersToKeep` and `MaxBridgedAuthorities` in Millau benchmarks

* typo

* impl review suggestion
This commit is contained in:
Svyatoslav Nikolsky
2023-02-06 15:56:34 +03:00
committed by Bastian Köcher
parent 411150b7be
commit cd12d1438e
6 changed files with 65 additions and 63 deletions
@@ -533,8 +533,8 @@ parameter_types! {
/// Number of headers to keep.
///
/// Assuming the worst case of every header being finalized, we will keep headers at least for a
/// week.
pub const HeadersToKeep: u32 = 7 * bp_millau::DAYS as u32;
/// day.
pub const HeadersToKeep: u32 = bp_millau::DAYS as u32;
/// Maximal number of authorities at Millau.
pub const MaxAuthoritiesAtMillau: u32 = bp_millau::MAX_AUTHORITIES_COUNT;