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
| ^^^^^^^^ the trait `Encode` is not implemented for `[NonPacked]`, which is required by `Contract: Sized`
52
+
|
53
+
9 | #[ink::storage_item]
54
+
| ^^^^^^^^^^^^^^^^^^^^ the trait `Encode` is not implemented for `[NonPacked]`, which is required by `Vec<NonPacked>: AutoStorableHint<ManualKey<453539032>>`
55
+
|
56
+
= help: the following other types implement trait `Encode`:
57
+
[T; N]
58
+
[T]
59
+
= note: required for `Vec<NonPacked>` to implement `Encode`
60
+
= note: required for `Vec<NonPacked>` to implement `Packed`
61
+
= note: required for `Vec<NonPacked>` to implement `StorableHint<()>`
62
+
= note: required for `Vec<NonPacked>` to implement `AutoStorableHint<ManualKey<453539032>>`
63
+
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)
64
+
65
+
error[E0277]: the trait bound `NonPacked: WrapperTypeDecode` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encode` is not implemented for `BTreeMap<u128, NonPacked>`, which is required by `BTreeMap<u128, NonPacked>: AutoStorableHint<ManualKey<453539032>>`
17
-
|
18
-
= help: the trait `Encode` is implemented for `BTreeMap<K, V>`
19
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `Packed`
20
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `StorableHint<()>`
21
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `AutoStorableHint<ManualKey<453539032>>`
22
-
23
-
error[E0277]: the trait bound `BTreeMap<u128, NonPacked>: ink::parity_scale_codec::Decode` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^ the trait `Encode` is not implemented for `BTreeMap<u128, NonPacked>`, which is required by `BTreeMap<u128, NonPacked>: AutoStorableHint<ManualKey<453539032>>`
40
-
|
41
-
= help: the trait `Encode` is implemented for `BTreeMap<K, V>`
42
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `Packed`
43
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `StorableHint<()>`
44
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `AutoStorableHint<ManualKey<453539032>>`
45
-
= note: this error originates in the derive macro `::ink::storage::traits::Storable` (in Nightly builds, run with -Z macro-backtrace for more info)
46
-
47
-
error[E0277]: the trait bound `NonPacked: WrapperTypeDecode` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `NonPacked`, which is required by `BTreeMap<u128, NonPacked>: StorageLayout`
52
-
|
53
-
= help: the following other types implement trait `WrapperTypeDecode`:
54
-
Arc<T>
55
-
Box<T>
56
-
Rc<T>
57
-
sp_core::Bytes
58
-
= note: required for `NonPacked` to implement `ink::parity_scale_codec::Decode`
59
-
= note: required for `NonPacked` to implement `Packed`
60
-
= note: required for `BTreeMap<u128, NonPacked>` to implement `StorageLayout`
61
-
62
12
error[E0277]: the trait bound `NonPacked: WrapperTypeEncode` is not satisfied
0 commit comments