mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Wrap confirmation and finality transactions into batch_all in Millau -> RialtoParachain bridge (#1898)
* wrap confirmation and finality transactions into batch_all in RialtoParachain<>Millau * review comments
This commit is contained in:
committed by
Bastian Köcher
parent
498a3e83d0
commit
5f2ff7e06e
@@ -573,17 +573,14 @@ pub async fn run<P: MessageRace, SC: SourceClient<P>, TC: TargetClient<P>>(
|
||||
if let Some((at_block, nonces_range, proof)) = race_state.nonces_to_submit.as_ref() {
|
||||
log::debug!(
|
||||
target: "bridge",
|
||||
"Going to submit proof of messages in range {:?} to {} node",
|
||||
"Going to submit proof of messages in range {:?} to {} node{}",
|
||||
nonces_range,
|
||||
P::target_name(),
|
||||
target_batch_transaction.as_ref().map(|tx| format!(
|
||||
". This transaction is batched with sending the proof for header {:?}.",
|
||||
tx.required_header_id())
|
||||
).unwrap_or_default(),
|
||||
);
|
||||
if let Some(ref target_batch_transaction) = target_batch_transaction {
|
||||
log::debug!(
|
||||
target: "bridge",
|
||||
"This transaction is batched with sending the proof for header {:?}.",
|
||||
target_batch_transaction.required_header_id(),
|
||||
);
|
||||
}
|
||||
|
||||
target_submit_proof.set(
|
||||
race_target
|
||||
|
||||
Reference in New Issue
Block a user