mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 16:51:02 +00:00
cargo +nightly fmt --all (#1192)
This commit is contained in:
committed by
Bastian Köcher
parent
5842968273
commit
6396239e18
@@ -287,10 +287,11 @@ mod rococo_tests {
|
||||
Box::new(header.clone()),
|
||||
justification.clone(),
|
||||
);
|
||||
let expected = millau_runtime::BridgeGrandpaRialtoCall::<millau_runtime::Runtime>::submit_finality_proof(
|
||||
Box::new(header),
|
||||
justification,
|
||||
);
|
||||
let expected =
|
||||
millau_runtime::BridgeGrandpaCall::<millau_runtime::Runtime>::submit_finality_proof(
|
||||
Box::new(header),
|
||||
justification,
|
||||
);
|
||||
|
||||
// when
|
||||
let actual_encoded = actual.encode();
|
||||
@@ -335,10 +336,11 @@ mod westend_tests {
|
||||
header.clone(),
|
||||
justification.clone(),
|
||||
);
|
||||
let expected = millau_runtime::BridgeGrandpaRialtoCall::<millau_runtime::Runtime>::submit_finality_proof(
|
||||
Box::new(header),
|
||||
justification,
|
||||
);
|
||||
let expected =
|
||||
millau_runtime::BridgeGrandpaCall::<millau_runtime::Runtime>::submit_finality_proof(
|
||||
Box::new(header),
|
||||
justification,
|
||||
);
|
||||
|
||||
// when
|
||||
let actual_encoded = actual.encode();
|
||||
|
||||
@@ -66,7 +66,7 @@ impl SubstrateFinalitySyncPipeline for RialtoFinalityToMillau {
|
||||
header: RialtoSyncHeader,
|
||||
proof: GrandpaJustification<bp_rialto::Header>,
|
||||
) -> Bytes {
|
||||
let call = millau_runtime::BridgeGrandpaRialtoCall::<
|
||||
let call = millau_runtime::BridgeGrandpaCall::<
|
||||
millau_runtime::Runtime,
|
||||
millau_runtime::RialtoGrandpaInstance,
|
||||
>::submit_finality_proof(Box::new(header.into_inner()), proof)
|
||||
|
||||
@@ -74,7 +74,7 @@ impl SubstrateFinalitySyncPipeline for WestendFinalityToMillau {
|
||||
header: WestendSyncHeader,
|
||||
proof: GrandpaJustification<bp_westend::Header>,
|
||||
) -> Bytes {
|
||||
let call = millau_runtime::BridgeGrandpaWestendCall::<
|
||||
let call = millau_runtime::BridgeGrandpaCall::<
|
||||
millau_runtime::Runtime,
|
||||
millau_runtime::WestendGrandpaInstance,
|
||||
>::submit_finality_proof(Box::new(header.into_inner()), proof)
|
||||
|
||||
Reference in New Issue
Block a user