Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

the trait bound `I: scale_info::TypeInfo` is not satisfied

I am writing Pallet which has generic parameter T and static parameter I, but as soon as I wish to create storage for Struct with generic parameter T I receive tons of errors. What am I doing wrong? ...
Dudo's user avatar
  • 21
0 votes
1 answer
23 views

error: Invalid generic declaration, trait is defined with instance but generic use none

I want to make a storage for the pallet but I'm getting this error /// The target parachains to ping. #[pallet::storage] pub type Targets<T:Config> = StorageValue< _, BoundedVec&...
Arunjot Singh's user avatar
4 votes
1 answer
75 views

Pallet generate store is deprecated how to avoid this warning and compile the code?

I am getting error in #[pallet::generate_store(pub(super) trait Store)] which is showing deprecated warning due to which I could not compile my custom pallet is there any solution
Parth Kohli's user avatar