Do not read parachain heads from ancient relay headers (#1827)

* do not read parachain heads from ancient relay headers

* revert test change
This commit is contained in:
Svyatoslav Nikolsky
2023-01-30 12:34:52 +03:00
committed by Bastian Köcher
parent 48425b27be
commit 4689dfaf2c
4 changed files with 36 additions and 15 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ pub use crate::{
UnsignedTransaction, UtilityPallet,
},
client::{
ChainRuntimeVersion, Client, OpaqueGrandpaAuthoritiesSet, SimpleRuntimeVersion,
Subscription, ANCIENT_BLOCK_THRESHOLD,
is_ancient_block, ChainRuntimeVersion, Client, OpaqueGrandpaAuthoritiesSet,
SimpleRuntimeVersion, Subscription, ANCIENT_BLOCK_THRESHOLD,
},
error::{Error, Result},
rpc::{SubstrateBeefyFinalityClient, SubstrateFinalityClient, SubstrateGrandpaFinalityClient},