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/build/genesis-configuration.md
+13-8
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<strong>⚠️ WARNING:</strong> This page contains outdated information. Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/frame_support/pallet_macros/attr.genesis_build.html">Rust docs</a> for the most up-to-date documentation on this topic.
8
+
Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/frame_support/pallet_macros/attr.genesis_build.html">Rust docs</a> for the most up-to-date documentation on this topic.
9
9
</div>
10
10
11
11
@@ -19,7 +19,7 @@ As you learned in [Chain specification](/build/chain-spec/), the chain specifica
19
19
However, the chain specification doesn't create the storage items that get initialized when you start a node.
20
20
Instead, the storage items are defined in the pallets included in the runtime as described in [Runtime storage](/build/runtime-storage/).
21
21
22
-
After you create storage items for the runtime, you can choose whether they should be set to some initial value as part of the genesis configuration and included in the genesis block.
22
+
After you create storage items for the runtime, you can choose whether they should be set to some initial value as part of the genesis configuration and included in the genesis block.
23
23
To specify the storage items that you want to set an initial state for, Substrate provides two specialized FRAME attribute macros.
24
24
25
25
The macros you can use to initialize storage items as part of the genesis configuration for a chain are:
@@ -120,12 +120,17 @@ All of the `GenesisConfig` types for the pallets that included in the constructi
120
120
The aggregated `RuntimeGenesisConfig` implements the [`BuildStorage`](https://paritytech.github.io/substrate/master/sp_runtime/trait.BuildStorage.html) trait to build all of the initial storage items for the runtime.
121
121
For example, the node template runtime builds storage items for the following pallets that have a `RuntimeGenesisConfig` specified by default:
Copy file name to clipboardExpand all lines: content/md/en/docs/build/origins.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ keywords:
6
6
---
7
7
8
8
<divclass="warning">
9
-
<strong>⚠️ WARNING:</strong> This page contains outdated information. Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_origin/index.html">Rust docs</a> for the most up-to-date documentation on this topic.
9
+
Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_origin/index.html">Rust docs</a> for the most up-to-date documentation on this topic.
10
10
</div>
11
11
12
12
The runtime origin is used by dispatchable functions to check where a call has come from.
Copy file name to clipboardExpand all lines: content/md/en/docs/build/pallet-coupling.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,7 @@ keywords:
7
7
---
8
8
9
9
<divclass="warning">
10
-
<p>
11
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
12
-
</p>
13
-
<p>
14
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
15
-
</p>
10
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
16
11
</div>
17
12
18
13
The term **coupling** is often used to describe the degree to which two software modules depend on each other.
Copy file name to clipboardExpand all lines: content/md/en/docs/build/remote-procedure-calls.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ keywords:
7
7
---
8
8
9
9
<divclass="warning">
10
-
<strong>⚠️ WARNING:</strong> This page may contain outdated information. Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/custom_runtime_api_rpc/index.html">Rust docs</a> for the most up-to-date documentation on this topic.
10
+
Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/custom_runtime_api_rpc/index.html">Rust docs</a> for the most up-to-date documentation on this topic.
11
11
</div>
12
12
13
13
Remote procedure calls, or RPC methods, are a way for an external program—for example, a browser or front-end application—to communicate with a Substrate node.
Copy file name to clipboardExpand all lines: content/md/en/docs/learn/offchain-operations.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<p>
9
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
-
</p>
11
-
<p>
12
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
13
-
</p>
8
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
14
9
</div>
15
10
16
11
There are many use cases where you might want to query data from an offchain source or process data without using on-chain resources before updating the on-chain state.
[`polkadot`](https://github.com/paritytech/polkadot), and
16
+
[`cumulus`](https://github.com/paritytech/cumulus), formerly independent in development and
17
+
branding, under one new mono-repo called
18
+
[`polkadot-sdk`](https://github.com/paritytech/polkadot-sdk). Consequently, the [runtimes of the
19
+
Polkadot and Kusama relay chains, and their system chains](https://github.com/polkadot-fellows/runtimes) were moved to be maintained by the [Polkadot fellowship](polkadot-fellows.github.io/dashboard/).
20
+
21
+
This transition gave birth to a new vision in which these tools are seen from the lens of being part of `polkadot-sdk` while still being independently useful.
22
+
23
+
Most impacted in this transition is **Substrate**, and part of this impact is the gradual deprecation of
24
+
this website. The content on this website is no longer maintained and will be gradually moved to a
25
+
new home. Consider the [resources below](#alternative-resources) as primary sources of information.
26
+
27
+
> You may still access the old content of this website in the navbar, but be aware of the fact that some content might not be up to date.
28
+
29
+
Note that **this does not impact the development of Substrate as a framework**. Substrate, as a framework, is still being maintained with full steam as a part of `polkadot-sdk`, and retains its full ability to be used to build both [standalone blockchains](https://github.com/paritytech/polkadot-sdk-solochain-template), or [Polkadot powered parachains](https://github.com/paritytech/polkadot-sdk-parachain-template).
30
+
31
+
## Alternative Resources
32
+
33
+
Below, you can find a number of replacement resources to learn more about Polkadot SDK:
- Polkadot Ecosystem Documentation by Papermoon (Work in progress, see progress [here](https://forum.polkadot.network/t/decentralized-futures-papermoon-first-updates/9265))
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/frame-macros.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description:
4
4
keywords:
5
5
---
6
6
<divclass="warning">
7
-
<strong>⚠️ WARNING:</strong> This section contains outdated information. Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/frame_support/attr.pallet.html">Rust docs</a> for the most up-to-date documentation on this topic.
7
+
Please refer to the <ahref="https://paritytech.github.io/polkadot-sdk/master/frame_support/attr.pallet.html">Rust docs</a> for the most up-to-date documentation on this topic.
8
8
</div>
9
9
10
10
Substrate uses customized [Rust macros](https://doc.rust-lang.org/book/ch19-06-macros.html) to generate code and aggregate the logic from the pallets you implement for a runtime.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/index.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<p>
9
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
-
</p>
11
-
<p>
12
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
13
-
</p>
8
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
14
9
</div>
15
10
16
11
The _How-to_ guides in the _Offchain workers_ category illustrate common use cases for offchain operations.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/offchain-http-requests.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,7 @@ keywords:
10
10
---
11
11
12
12
<divclass="warning">
13
-
<p>
14
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
15
-
</p>
16
-
<p>
17
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
18
-
</p>
13
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
19
14
</div>
20
15
21
16
Because most blockchains can't access data that's hosted on servers outside of their own network, they typically use external third-party services—**oracles**—to pull information in from or push information out to locations that are outside of the network.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/offchain-indexing.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,7 @@ keywords:
8
8
---
9
9
10
10
<divclass="warning">
11
-
<p>
12
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
13
-
</p>
14
-
<p>
15
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
16
-
</p>
11
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
17
12
</div>
18
13
19
14
This guide will step you through how to pass data from an extrinsic to an offchain worker without writing to storage.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/offchain-local-storage.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,7 @@ keywords:
9
9
---
10
10
11
11
<divclass="warning">
12
-
<p>
13
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
14
-
</p>
15
-
<p>
16
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
17
-
</p>
12
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
18
13
</div>
19
14
20
15
This guide will teach you how to use an offchain worker to save retrieved data in local storage for future access.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/pallet-design/use-loose-coupling.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<p>
9
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
-
</p>
11
-
<p>
12
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
13
-
</p>
8
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
14
9
</div>
15
10
16
11
This guide demonstrates how to reuse a function or type from one pallet in another pallet using a technique called **loose coupling**.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/pallet-design/use-tight-coupling.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<p>
9
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
-
</p>
11
-
<p>
12
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
13
-
</p>
8
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_pallet_coupling/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
14
9
</div>
15
10
16
11
Tight coupling two pallets is a technique to write pallets that re-use types and methods from an existing pallet.
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/xcm-reference.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,7 @@ keywords:
9
9
---
10
10
11
11
<divclass="warning">
12
-
<p>
13
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
14
-
</p>
15
-
<p>
16
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/polkadot_sdk/xcm/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
17
-
</p>
12
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/polkadot_sdk/xcm/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
18
13
</div>
19
14
20
15
This section provides reference information for the cross-consensus message (XCM) format.
Copy file name to clipboardExpand all lines: content/md/en/docs/tutorials/build-application-logic/add-offchain-workers.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,7 @@ keywords:
12
12
---
13
13
14
14
<divclass="warning">
15
-
<p>
16
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
17
-
</p>
18
-
<p>
19
-
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
20
-
</p>
15
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">Rust Docs</a> for the most up-to-date documentation on this topic.
21
16
</div>
22
17
23
18
This tutorial illustrates how to modify a pallet to include an offchain worker and configure the pallet and runtime to enable the offchain worker to submit transactions that update the on-chain state.
Copy file name to clipboardExpand all lines: content/md/en/docs/tutorials/integrate-with-tools/explore-sidecar-endpoints.md
-5
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,7 @@ keywords:
5
5
---
6
6
7
7
<divclass="warning">
8
-
<p>
9
-
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
-
</p>
11
-
<p>
12
8
Please refer to the <a href="https://paritytech.github.io/substrate-api-sidecar/dist/">Sidecar docs</a>, the <a href="https://github.com/paritytech/substrate-api-sidecar?tab=readme-ov-file#note">README</a> and the <a href="https://github.com/paritytech/substrate-api-sidecar/tree/master/guides">guides folder</a> for the most up-to-date documentation on this topic.
13
-
</p>
14
9
</div>
15
10
16
11
The Substrate [sidecar](https://github.com/paritytech/substrate-api-sidecar) service provides a REST API for interacting with Substrate blockchain nodes built using FRAME.
0 commit comments