git.delta.rocks / unique-network / refs/commits / b88274c6db1b

difftreelog

fix cargo fmt

Daniel Shiposha2022-09-28parent: #3deec63.patch.diff
in: master

7 files changed

modifiedcrates/evm-coder/src/execution.rsdiffbeforeafterboth
61impl 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}
modifiednode/cli/src/service.rsdiffbeforeafterboth
327 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,
modifiedpallets/common/src/lib.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth

no syntactic changes

modifiedruntime/common/config/xcm/nativeassets.rsdiffbeforeafterboth

no syntactic changes

modifiedruntime/common/mod.rsdiffbeforeafterboth
4141
42use 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};
4744
105 Block,102 Block,
106 frame_system::ChainContext<Runtime>,103 frame_system::ChainContext<Runtime>,
107 Runtime,104 Runtime,
108 AllPalletsWithSystem105 AllPalletsWithSystem,
109>;106>;
110107
111type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;108type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;
modifiedruntime/opal/src/xcm_barrier.rsdiffbeforeafterboth
17use 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;