From 34d182f6e01b0a30acd3739d8b5390fd2ac43559 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 19 Dec 2022 13:34:54 +0300 Subject: [PATCH] more traces + remove signer override --- .../src/refund_relayer_extension.rs | 22 ++++++++++++++++++- ...elay-millau-rialto-parachain-entrypoint.sh | 1 - 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/bin/runtime-common/src/refund_relayer_extension.rs b/bin/runtime-common/src/refund_relayer_extension.rs index b7c6f71dca..4f01926508 100644 --- a/bin/runtime-common/src/refund_relayer_extension.rs +++ b/bin/runtime-common/src/refund_relayer_extension.rs @@ -268,7 +268,18 @@ where Some(CallType::Delivery(extract_messages_state::(call)?)) }; - Ok(parse_call_type().map(|call_type| PreDispatchData { relayer: who.clone(), call_type })) + Ok(parse_call_type() + .map(|call_type| { + log::trace!( + target: "runtime::bridge", + "RefundRelayerForMessagesFromParachain from parachain {} via {:?} parsed bridge transaction in pre-dispatch: {:?}", + PID::get(), + LID::get(), + call_type, + ); + PreDispatchData { relayer: who.clone(), call_type } + }) + ) } fn post_dispatch( @@ -340,6 +351,15 @@ where // finally - register reward in relayers pallet RelayersPallet::::register_relayer_reward(LID::get(), &relayer, reward); + log::trace!( + target: "runtime::bridge", + "RefundRelayerForMessagesFromParachain from parachain {} via {:?} has registered {:?} reward: {:?}", + PID::get(), + LID::get(), + relayer, + reward, + ); + Ok(()) } } diff --git a/deployments/bridges/rialto-parachain-millau/entrypoints/relay-millau-rialto-parachain-entrypoint.sh b/deployments/bridges/rialto-parachain-millau/entrypoints/relay-millau-rialto-parachain-entrypoint.sh index f2732e82f4..cc375a1f99 100755 --- a/deployments/bridges/rialto-parachain-millau/entrypoints/relay-millau-rialto-parachain-entrypoint.sh +++ b/deployments/bridges/rialto-parachain-millau/entrypoints/relay-millau-rialto-parachain-entrypoint.sh @@ -28,7 +28,6 @@ sleep 6 --millau-host millau-node-alice \ --millau-port 9944 \ --millau-signer $MILLAU_RELAY_ACCOUNT \ - --rialto-headers-to-millau-signer $MILLAU_RELAY_ACCOUNT_HEADERS_OVERRIDE \ --millau-messages-pallet-owner=//RialtoParachain.MessagesOwner \ --millau-transactions-mortality=64 \ --rialto-parachain-host rialto-parachain-collator-charlie \