You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"collateral_currency was removed, need to reset the offchain worker: collateral_position is {:?}, collateral_currency_ids: {:?}",
743
-
collateral_position,
744
-
collateral_currency_ids
737
+
"collateral_currency was removed, need to reset the offchain worker: collateral_position is {collateral_position:?}, collateral_currency_ids: {collateral_currency_ids:?}",
745
738
);
746
739
to_be_continue.set(&(0,Option::<Vec<u8>>::None));
747
740
returnOk(());
@@ -786,13 +779,7 @@ impl<T: Config> Pallet<T> {
786
779
let iteration_end_time = sp_io::offchain::timestamp();
787
780
log::debug!(
788
781
target:"cdp-engine offchain worker",
789
-
"iteration info:\n max iterations is {:?}\n currency id: {:?}, start key: {:?}, iterate count: {:?}\n iteration start at: {:?}, end at: {:?}, execution time: {:?}\n",
790
-
max_iterations,
791
-
currency_id,
792
-
start_key,
793
-
iteration_count,
794
-
iteration_start_time,
795
-
iteration_end_time,
782
+
"iteration info:\n max iterations is {max_iterations:?}\n currency id: {currency_id:?}, start key: {start_key:?}, iterate count: {iteration_count:?}\n iteration start at: {iteration_start_time:?}, end at: {iteration_end_time:?}, execution time: {:?}\n",
796
783
iteration_end_time.diff(&iteration_start_time)
797
784
);
798
785
@@ -1467,9 +1454,8 @@ impl<T: Config> LiquidateCollateral<T::AccountId> for LiquidateViaContracts<T> {
1467
1454
log::error!(
1468
1455
target:"cdp-engine",
1469
1456
"LiquidateViaContracts: transfer collateral to contract failed. \
0 commit comments