mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
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:
committed by
Bastian Köcher
parent
1eb73979bd
commit
6d35de23be
@@ -254,6 +254,7 @@ impl ChainWithGrandpa for TestBridgedChain {
|
||||
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;
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
@@ -285,6 +286,7 @@ impl ChainWithGrandpa for OtherBridgedChain {
|
||||
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;
|
||||
}
|
||||
|
||||
/// Return test externalities to use in tests.
|
||||
|
||||
Reference in New Issue
Block a user