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
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/frame-macros.md
-10
Original file line number
Diff line number
Diff line change
@@ -256,15 +256,6 @@ For example:
256
256
pubstructPallet<T>(_);
257
257
```
258
258
259
-
This macro can generate the `Store` trait to contain an associated type for each storage item if you provide the `#[pallet::generate_store($vis trait Store)]` attribute macro.
260
-
261
-
For example:
262
-
263
-
```rust
264
-
#[pallet::pallet]
265
-
pubstructPallet<T>(_);
266
-
```
267
-
268
259
For more information about working with storage and this macro, see the [macro expansion](https://paritytech.github.io/substrate/master/frame_support/attr.pallet.html#macro-expansion-1) added to the `struct Pallet<T>` definition.
269
260
270
261
### #[pallet::without\_storage\_info]
@@ -279,7 +270,6 @@ To use it, add the `#[pallet::without_storage_info]` attribute to the pallet str
Copy file name to clipboardExpand all lines: content/md/en/docs/tutorials/collectibles-workshop/03-create-pallet.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ title: Create a new pallet
3
3
tutorial: 1
4
4
---
5
5
6
+
> ⚠️ This tutorial is out-of-date any may not work as intended. Please refer to [`Polkadot SDK Docs`](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/guides/your_first_pallet/index.html) for up-to-date information.
7
+
6
8
In this workshop, you'll learn how to create a custom Substrate module-called a pallet-that's going to contain the code for your application-specific blockchain.
7
9
Pallets are built using FRAME libraries and the Rust programming language.
8
10
FRAME includes a lot of specialized macros that make it easy to compose the application logic in a reusable container.
@@ -104,14 +106,14 @@ To update the manifest for the collectibles project:
0 commit comments