Skip to content

Commit e791ee8

Browse files
authored
add more
1 parent a1e469b commit e791ee8

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

content/md/en/docs/reference/how-to-guides/offchain-workers/index.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@ description: Quick reference guides that illustrate how to use offchain workers.
44
keywords:
55
---
66

7+
<div class="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>
14+
</div>
15+
716
The _How-to_ guides in the _Offchain workers_ category illustrate common use cases for offchain operations.
817

918
- [Make offchain HTTP requests](/reference/how-to-guides/offchain-workers/offchain-http-requests/)
1019
- [Offchain local storage](/reference/how-to-guides/offchain-workers/offchain-local-storage/)
1120
- [Offchain indexing](/reference/how-to-guides/offchain-workers/offchain-indexing/)
1221

13-
It is important to note that offchain storage is separate from on-chain storage.
22+
It is important to note that offchain storage is separate from on-chain storage.
1423
You can't send data collected or processed by an offchain worker directly to on-chain storage.
1524
To store any data collected or processed by an offchain worker—that is, to modify the state of the chain—you must enable the offchain worker to send transactions that modify the on-chain storage system.
16-
For examples of how to prepare an offchain worker to send transactions, see [Add offchain workers](/tutorials/build-application-logic/add-offchain-workers/).
25+
For examples of how to prepare an offchain worker to send transactions, see [Add offchain workers](/tutorials/build-application-logic/add-offchain-workers/).

content/md/en/docs/reference/how-to-guides/offchain-workers/offchain-http-requests.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ keywords:
99
- requests
1010
---
1111

12+
<div class="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>
19+
</div>
20+
1221
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.
1322
For Substrate-based blockchains, **offchain workers** (OCW) provide similar capabilities, but with the advantage of being able to access on-chain state.
1423

0 commit comments

Comments
 (0)