--- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -39,7 +39,7 @@ ensure, pallet_prelude::*, traits::{fungible, fungibles, Currency, EnsureOrigin}, - transactional, RuntimeDebug, + RuntimeDebug, }; use frame_system::pallet_prelude::*; use up_data_structs::{CollectionMode}; @@ -281,7 +281,6 @@ #[pallet::call] impl Pallet { #[pallet::weight(::WeightInfo::register_foreign_asset())] - #[transactional] pub fn register_foreign_asset( origin: OriginFor, owner: T::AccountId, @@ -324,7 +323,6 @@ } #[pallet::weight(::WeightInfo::update_foreign_asset())] - #[transactional] pub fn update_foreign_asset( origin: OriginFor, foreign_asset_id: ForeignAssetId,