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
In some cases, a library might require that a type implement frame_support::traits::Parameter, which implies implementing DecodeWithMemTracking.
In my case, a library implemented on the runtime and contract side requires a config trait to define the AccountId type. I used ink::primitives::AccountId, but this type (at ink 5.1.1) doesn't implement such a trait.
Is it possible to derive the trait on the primitive types?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
In some cases, a library might require that a type implement
frame_support::traits::Parameter
, which implies implementingDecodeWithMemTracking
.In my case, a library implemented on the runtime and contract side requires a config trait to define the
AccountId
type. I usedink::primitives::AccountId
, but this type (atink 5.1.1
) doesn't implement such a trait.Is it possible to derive the trait on the primitive types?
The text was updated successfully, but these errors were encountered: