@@ -141,10 +141,9 @@ pub struct AssertChainConstants {
141141///
142142/// 1) block weight limits are matching;
143143/// 2) block size limits are matching.
144- pub fn assert_chain_constants < R , C > ( params : AssertChainConstants )
144+ pub fn assert_chain_constants < R > ( params : AssertChainConstants )
145145where
146146 R : frame_system:: Config ,
147- C : Chain ,
148147{
149148 // we don't check runtime version here, because in our case we'll be building relay from one
150149 // repo and runtime will live in another repo, along with outdated relay version. To avoid
@@ -274,17 +273,16 @@ pub struct AssertCompleteBridgeConstants<'a> {
274273
275274/// All bridge-related constants tests for the complete standard messages bridge (i.e. with bridge
276275/// GRANDPA and messages pallets deployed).
277- pub fn assert_complete_bridge_constants < R , GI , MI , B , This > ( params : AssertCompleteBridgeConstants )
276+ pub fn assert_complete_bridge_constants < R , GI , MI , B > ( params : AssertCompleteBridgeConstants )
278277where
279278 R : frame_system:: Config
280279 + pallet_bridge_grandpa:: Config < GI >
281280 + pallet_bridge_messages:: Config < MI > ,
282281 GI : ' static ,
283282 MI : ' static ,
284283 B : MessageBridge ,
285- This : Chain ,
286284{
287- assert_chain_constants :: < R , This > ( params. this_chain_constants ) ;
285+ assert_chain_constants :: < R > ( params. this_chain_constants ) ;
288286 assert_bridge_grandpa_pallet_constants :: < R , GI > ( ) ;
289287 assert_bridge_messages_pallet_constants :: < R , MI > ( params. messages_pallet_constants ) ;
290288 assert_bridge_pallet_names :: < B , R , GI , MI > ( params. pallet_names ) ;
0 commit comments