You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
type PreimageProvider: PreimageProvider<Self::Hash> + PreimageRecipient<Self::Hash>;
it should be
type PreimageProvider: QueryPreimage + StorePreimage;
When using QueryPreimage::fetch(hash: &Hash, len: Option<u32>), make sure that len is Some! This will basically mean that dispatch_whitelisted_call will need to take an extra len: u32 argument.
The text was updated successfully, but these errors were encountered:
Instead of using
it should be
When using
QueryPreimage::fetch(hash: &Hash, len: Option<u32>)
, make sure thatlen
isSome
! This will basically mean thatdispatch_whitelisted_call
will need to take an extralen: u32
argument.The text was updated successfully, but these errors were encountered: