From 12f11314c1948be0dab7e7eda50bbb1f9468abe9 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 05 Feb 2023 20:22:56 +0000 Subject: [PATCH] style: fix formatting --- --- 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; --- 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! { --- a/pallets/refungible/src/erc.rs +++ b/pallets/refungible/src/erc.rs @@ -48,8 +48,8 @@ }; use crate::{ - AccountBalance, Balance, Config, CreateItemData, Pallet, RefungibleHandle, - TokenProperties, TokensMinted, TotalSupply, SelfWeightOf, weights::WeightInfo, + AccountBalance, Balance, Config, CreateItemData, Pallet, RefungibleHandle, TokenProperties, + TokensMinted, TotalSupply, SelfWeightOf, weights::WeightInfo, }; frontier_contract! { --- 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 /// -- gitstuff