git.delta.rocks / unique-network / refs/commits / 12f11314c194

difftreelog

style fix formatting

Yaroslav Bolyukin2023-02-05parent: #586a87e.patch.diff
in: master

4 files changed

modifiedpallets/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;
 
modifiedpallets/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! {
modifiedpallets/refungible/src/erc.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/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
 ///