-
Notifications
You must be signed in to change notification settings - Fork 470
Open
Labels
P-highHigh priority issue.High priority issue.
Description
See how the storage item has different traits derived compared to here. This is because of the error:
the trait `StorageLayout` is not implemented
Using the #[ink::storage_item]
macro also doesn't work because then:
the trait `WrapperTypeEncode`, `StorableHint<()>` is not implemented
Preferably you have one struct carrying the main storage macro (#[ink::storage]
, and everything that are sub structs carry the storage_item macro, but this doesn't work. The docs also directs devs to use it like this (ref)
Metadata
Metadata
Assignees
Labels
P-highHigh priority issue.High priority issue.