Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions asset-registry/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ impl<W: WeightToFeeConverter, R: TakeRevenue> WeightTrader for AssetRegistryTrad
) -> Result<AssetsInHolding, XcmError> {
log::trace!(
target: "xcm::weight",
"AssetRegistryTrader::buy_weight weight: {:?}, payment: {:?}",
weight, payment,
"AssetRegistryTrader::buy_weight weight: {weight:?}, payment: {payment:?}"
);

for (asset, _) in payment.fungible.iter() {
Expand Down Expand Up @@ -140,7 +139,7 @@ impl<W: WeightToFeeConverter, R: TakeRevenue> WeightTrader for AssetRegistryTrad
}

fn refund_weight(&mut self, weight: XcmWeight, _context: &XcmContext) -> Option<Asset> {
log::trace!(target: "xcm::weight", "AssetRegistryTrader::refund_weight weight: {:?}", weight);
log::trace!(target: "xcm::weight", "AssetRegistryTrader::refund_weight weight: {weight:?}");

match self.bought_weight {
Some(ref mut bought) => {
Expand Down
1 change: 1 addition & 0 deletions authority/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#![allow(clippy::boxed_local)]
#![allow(clippy::borrowed_box)]
#![allow(clippy::unused_unit)]
#![allow(clippy::useless_conversion)]

use frame_support::{
dispatch::PostDispatchInfo,
Expand Down
1 change: 1 addition & 0 deletions oracle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// Disable the following two lints since they originate from an external macro (namely decl_storage)
#![allow(clippy::string_lit_as_bytes)]
#![allow(clippy::unused_unit)]
#![allow(clippy::useless_conversion)]

use parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};

Expand Down
1 change: 1 addition & 0 deletions payments/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
//! When a payment is 'completed' or 'cancelled' it is removed from storage and
//! hence not tracked by a state.
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::useless_conversion)]
pub use pallet::*;

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.84.1"
channel = "1.88.0"
components = ["rust-src", "rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]
1 change: 1 addition & 0 deletions tokens/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::unused_unit)]
#![allow(clippy::comparison_chain)]
#![allow(clippy::useless_conversion)]

pub use crate::imbalances::{NegativeImbalance, PositiveImbalance};

Expand Down
2 changes: 1 addition & 1 deletion xtokens/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ pub mod module {
T::XcmExecutor::prepare_and_execute(origin_location, msg, &mut hash, weight, weight)
.ensure_complete()
.map_err(|error| {
log::error!("Failed execute transfer message with {:?}", error);
log::error!("Failed execute transfer message with {error:?}");
Error::<T>::XcmExecutionFailed
})?;

Expand Down