added more relay and message-lane pallet logs (#527)

This commit is contained in:
Svyatoslav Nikolsky
2020-11-24 19:27:23 +03:00
committed by Bastian Köcher
parent fe11f6f1d9
commit 698d8d5600
4 changed files with 28 additions and 3 deletions
@@ -159,6 +159,13 @@ pub async fn run<SourceChain, TargetChain, P>(
source_justifications,
);
log::info!(
target: "bridge",
"Starting {} -> {} headers relay",
SourceChain::NAME,
TargetChain::NAME,
);
headers_relay::sync_loop::run(
HeadersSource::new(source_client),
SourceChain::AVERAGE_BLOCK_INTERVAL,
@@ -112,6 +112,12 @@ pub fn run(
relayer_id_at_source: relayer_id_at_millau,
};
log::info!(
target: "bridge",
"Starting Millau -> Rialto messages relay. Millau relayer account id: {:?}",
lane.relayer_id_at_source,
);
messages_relay::message_lane_loop::run(
messages_relay::message_lane_loop::Params {
lane: lane_id,
@@ -112,6 +112,12 @@ pub fn run(
relayer_id_at_source: relayer_id_at_rialto,
};
log::info!(
target: "bridge",
"Starting Rialto -> Millau messages relay. Rialto relayer account id: {:?}",
lane.relayer_id_at_source,
);
messages_relay::message_lane_loop::run(
messages_relay::message_lane_loop::Params {
lane: lane_id,