difftreelog
fix cargo fmt
in: master
7 files changed
crates/evm-coder/src/execution.rsdiffbeforeafterboth61impl From<u64> for DispatchInfo {61impl From<u64> for DispatchInfo {62 fn from(weight: u64) -> Self {62 fn from(weight: u64) -> Self {63 Self { weight: Weight::from_ref_time(weight) }63 Self {64 weight: Weight::from_ref_time(weight),65 }64 }66 }65}67}66impl From<()> for DispatchInfo {68impl From<()> for DispatchInfo {67 fn from(_: ()) -> Self {69 fn from(_: ()) -> Self {68 Self { weight: Weight::zero() }70 Self {71 weight: Weight::zero(),72 }69 }73 }70}74}node/cli/src/service.rsdiffbeforeafterboth327 Arc::new(RelayChainRpcInterface::new(rpc_client)) as Arc<_>,327 Arc::new(RelayChainRpcInterface::new(rpc_client)) as Arc<_>,328 None,328 None,329 ))329 ))330 },330 }331 None => build_inprocess_relay_chain(331 None => build_inprocess_relay_chain(332 polkadot_config,332 polkadot_config,333 parachain_config,333 parachain_config,pallets/common/src/lib.rsdiffbeforeafterbothno syntactic changes
pallets/refungible/src/lib.rsdiffbeforeafterbothno syntactic changes
runtime/common/config/xcm/nativeassets.rsdiffbeforeafterbothno syntactic changes
runtime/common/mod.rsdiffbeforeafterboth414142use crate::{42use crate::{Runtime, Call, Balances, Treasury, Aura, Signature, AllPalletsWithSystem, InherentDataExt};43 Runtime, Call, Balances, Treasury, Aura, Signature, AllPalletsWithSystem,44 InherentDataExt,45};46use up_common::types::{AccountId, BlockNumber};43use up_common::types::{AccountId, BlockNumber};4744105 Block,102 Block,106 frame_system::ChainContext<Runtime>,103 frame_system::ChainContext<Runtime>,107 Runtime,104 Runtime,108 AllPalletsWithSystem105 AllPalletsWithSystem,109>;106>;110107111type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;108type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;runtime/opal/src/xcm_barrier.rsdiffbeforeafterboth17use frame_support::traits::Everything;17use frame_support::traits::Everything;18use xcm::{latest::{Xcm, Weight}, v1::MultiLocation};18use xcm::{19 latest::{Xcm, Weight},20 v1::MultiLocation,21};19use xcm_builder::{AllowTopLevelPaidExecutionFrom, TakeWeightCredit};22use xcm_builder::{AllowTopLevelPaidExecutionFrom, TakeWeightCredit};20use xcm_executor::traits::ShouldExecute;23use xcm_executor::traits::ShouldExecute;