difftreelog
style fix formatting
in: master
4 files changed
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -70,46 +70,15 @@
};
use pallet_evm::GasWeightMapping;
use up_data_structs::{
- AccessMode,
- COLLECTION_NUMBER_LIMIT,
- Collection,
- RpcCollection,
- CollectionFlags,
- RpcCollectionFlags,
- CollectionId,
- CreateItemData,
- MAX_TOKEN_PREFIX_LENGTH,
- COLLECTION_ADMINS_LIMIT,
- TokenId,
- TokenChild,
- CollectionStats,
- MAX_TOKEN_OWNERSHIP,
- CollectionMode,
- NFT_SPONSOR_TRANSFER_TIMEOUT,
- FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
- REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
- MAX_SPONSOR_TIMEOUT,
- CUSTOM_DATA_LIMIT,
- CollectionLimits,
- CreateCollectionData,
- SponsorshipState,
- CreateItemExData,
- SponsoringRateLimit,
- budget::Budget,
- PhantomType,
- Property,
- Properties,
- PropertiesPermissionMap,
- PropertyKey,
- PropertyValue,
- PropertyPermission,
- PropertiesError,
- TokenOwnerError,
- PropertyKeyPermission,
- TokenData,
- TrySetProperty,
- PropertyScope,
- CollectionPermissions,
+ AccessMode, COLLECTION_NUMBER_LIMIT, Collection, RpcCollection, CollectionFlags,
+ RpcCollectionFlags, CollectionId, CreateItemData, MAX_TOKEN_PREFIX_LENGTH,
+ COLLECTION_ADMINS_LIMIT, TokenId, TokenChild, CollectionStats, MAX_TOKEN_OWNERSHIP,
+ CollectionMode, NFT_SPONSOR_TRANSFER_TIMEOUT, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
+ REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MAX_SPONSOR_TIMEOUT, CUSTOM_DATA_LIMIT, CollectionLimits,
+ CreateCollectionData, SponsorshipState, CreateItemExData, SponsoringRateLimit, budget::Budget,
+ PhantomType, Property, Properties, PropertiesPermissionMap, PropertyKey, PropertyValue,
+ PropertyPermission, PropertiesError, TokenOwnerError, PropertyKeyPermission, TokenData,
+ TrySetProperty, PropertyScope, CollectionPermissions,
};
use up_pov_estimate_rpc::PovInfo;
pallets/fungible/src/erc.rsdiffbeforeafterboth--- a/pallets/fungible/src/erc.rs
+++ b/pallets/fungible/src/erc.rs
@@ -38,8 +38,8 @@
use sp_core::{U256, Get};
use crate::{
- Allowance, Balance, Config, FungibleHandle, Pallet, TotalSupply,
- SelfWeightOf, weights::WeightInfo,
+ Allowance, Balance, Config, FungibleHandle, Pallet, TotalSupply, SelfWeightOf,
+ weights::WeightInfo,
};
frontier_contract! {
pallets/refungible/src/erc.rsdiffbeforeafterbothno syntactic changes
pallets/refungible/src/erc_token.rsdiffbeforeafterboth--- a/pallets/refungible/src/erc_token.rs
+++ b/pallets/refungible/src/erc_token.rs
@@ -40,7 +40,10 @@
use sp_core::U256;
use up_data_structs::TokenId;
-use crate::{Allowance, Balance, Config, Pallet, RefungibleHandle, TotalSupply, common::CommonWeights, SelfWeightOf, weights::WeightInfo};
+use crate::{
+ Allowance, Balance, Config, Pallet, RefungibleHandle, TotalSupply, common::CommonWeights,
+ SelfWeightOf, weights::WeightInfo,
+};
/// Refungible token handle contains information about token's collection and id
///