Answer by sea212 for How to include ::Blocknumber in a struct within a...
A suggestion from Guillaume from substrate-technical Element chat that solved the problem:in rust the code:/// Structure that contains the proof#[derive(Debug)]pub struct PhysicalProof<T,...
View ArticleAnswer by Ibraheem Ahmed for How to include ::Blocknumber in a struct within...
To derive Debug for as struct, all of its fields must be able to implement Debug. Right now, the compiler doesn't know if T is debuggable.You can tell the compiler that T implements Debug by adding a...
View ArticleHow to include ::Blocknumber in a struct within a Substrate FRAME pallet
Can anybody tell me please how to include <T as Trait>::BlockNumber and <T as Trait>::AccountId in my struct within my pallet module?My current solution is to add a generic parameter T with...
View Article
More Pages to Explore .....