Skip to content

Commit

Permalink
merge conflict resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
dharjeezy committed Jan 25, 2025
1 parent 81af798 commit cbf1316
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ where
&self,
xts: impl IntoIterator<Item = (TimedTransactionSource, ExtrinsicFor<ChainApi>)>,
) -> Vec<Result<ValidatedPoolSubmitOutcome<ChainApi>, ChainApi::Error>> {
if tracing::enabled!(target: LOG_TARGET, tracing::Level::TRACE) {
if tracing::enabled!(target: LOG_TARGET, tracing::Level::TRACE) {
let xts = xts.into_iter().collect::<Vec<_>>();
log_xt_trace!(target: LOG_TARGET, xts.iter().map(|(_,xt)| self.pool.validated_pool().api().hash_and_length(xt).0), "[{:?}] view::submit_many at:{}", self.at.hash);
self.pool.submit_at(&self.at, xts).await
Expand All @@ -174,7 +174,7 @@ where
source: TimedTransactionSource,
xt: ExtrinsicFor<ChainApi>,
) -> Result<ValidatedPoolSubmitOutcome<ChainApi>, ChainApi::Error> {
tracing::trace!(
tracing::trace!(
target: LOG_TARGET,
tx_hash = ?self.pool.validated_pool().api().hash_and_length(&xt).0,
view_at_hash = ?self.at.hash,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ where

match result {
Some(Err(error)) => {
tracing::trace!(
target: LOG_TARGET,
?tx_hash,
%error,
"submit_local: err"
);
tracing::trace!(
target: LOG_TARGET,
?tx_hash,
%error,
"submit_local: err"
);
Err(error)
},
None => Ok(ViewStoreSubmitOutcome::new(tx_hash, None)),
Expand Down Expand Up @@ -320,13 +320,13 @@ where

match result {
Some(Err(error)) => {
tracing::trace!(
target: LOG_TARGET,
?tx_hash,
%error,
"submit_and_watch: err"
);
return Err(error);
tracing::trace!(
target: LOG_TARGET,
?tx_hash,
%error,
"submit_and_watch: err"
);
return Err(error);
},
Some(Ok(result)) =>
Ok(ViewStoreSubmitOutcome::from(result).with_watcher(external_watcher)),
Expand Down

0 comments on commit cbf1316

Please sign in to comment.