remove no longer valid check from the ensure_weights_are_correct (#2740)

* remove no longer valid check from the ensure_weights_are_correct

* fix compilation
This commit is contained in:
Svyatoslav Nikolsky
2023-12-15 10:11:41 +03:00
committed by Bastian Köcher
parent 59882a7343
commit b86ecfeeb7
2 changed files with 4 additions and 4 deletions
@@ -65,9 +65,8 @@ impl bp_header_chain::ChainWithGrandpa for RococoBaseAsPolkadot {
const MAX_AUTHORITIES_COUNT: u32 = bp_rococo::Rococo::MAX_AUTHORITIES_COUNT;
const REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY: u32 =
bp_rococo::Rococo::REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY;
const MAX_HEADER_SIZE: u32 = bp_rococo::Rococo::MAX_HEADER_SIZE;
const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 =
bp_rococo::Rococo::AVERAGE_HEADER_SIZE_IN_JUSTIFICATION;
const MAX_MANDATORY_HEADER_SIZE: u32 = bp_rococo::Rococo::MAX_MANDATORY_HEADER_SIZE;
const AVERAGE_HEADER_SIZE: u32 = bp_rococo::Rococo::AVERAGE_HEADER_SIZE;
}
/// Relay `Chain` implementation of Rococo, pretending to be Polkadot.