mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
pallet macro: allow to declare individual unbounded storage for those who cannot go into PoV (#9670)
* allow unbounded individual storage * better doc * fix UI tests * update doc * Update frame/support/procedural/src/pallet/parse/storage.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d565382b50
commit
1ebcbe1c34
@@ -1,4 +1,4 @@
|
||||
error: expected `getter` or `storage_prefix`
|
||||
error: expected one of: `getter`, `storage_prefix`, `unbounded`
|
||||
--> $DIR/storage_invalid_attribute.rs:16:12
|
||||
|
|
||||
16 | #[pallet::generate_store(pub trait Store)]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Invalid pallet::storage, multiple argument pallet::getter found
|
||||
error: Invalid attribute: Duplicate attribute
|
||||
--> $DIR/storage_multiple_getters.rs:20:3
|
||||
|
|
||||
20 | #[pallet::getter(fn foo_error)]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: Invalid pallet::storage, multiple argument pallet::storage_prefix found
|
||||
error: Invalid attribute: Duplicate attribute
|
||||
--> $DIR/storage_multiple_renames.rs:20:3
|
||||
|
|
||||
20 | #[pallet::storage_prefix = "Baz"]
|
||||
|
||||
Reference in New Issue
Block a user