Skip to content

Commit

Permalink
remove typeinfo bound as already computed
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzamontiel committed Jan 10, 2025
1 parent f1dba45 commit a68bb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/moonbeam-foreign-assets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ pub mod pallet {
StorageMap<_, Blake2_128Concat, AssetId, AssetCreationDetails<T>>;

#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)]
pub enum AssetOwner<T: Config + scale_info::TypeInfo> {
pub enum AssetOwner<T: Config> {
Governance,
Account(T::AccountId),
}

#[derive(Clone, Decode, Encode, Eq, PartialEq, Debug, TypeInfo, MaxEncodedLen)]
pub struct AssetCreationDetails<T: Config + scale_info::TypeInfo> {
pub struct AssetCreationDetails<T: Config> {
pub owner: AssetOwner<T>,
pub deposit: Option<BalanceOf<T>>,
}
Expand Down

0 comments on commit a68bb12

Please sign in to comment.