separate constants for average and worst case relay headers (#2728)

* separate constants for average and worst case relay headers

* fix compilation
This commit is contained in:
Svyatoslav Nikolsky
2023-12-05 18:00:34 +03:00
committed by Bastian Köcher
parent 1eb73979bd
commit 6d35de23be
10 changed files with 37 additions and 3 deletions
+1
View File
@@ -378,6 +378,7 @@ impl ChainWithGrandpa for BridgedUnderlyingChain {
const REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY: u32 = 8;
const MAX_HEADER_SIZE: u32 = 256;
const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 64;
const WORST_HEADER_SIZE_IN_JUSTIFICATION: u32 = 64;
}
impl Chain for BridgedUnderlyingParachain {