From 08b47d25bcb71af379e2abf87cd0448e08309681 Mon Sep 17 00:00:00 2001 From: mcisb <83702309+KyryloKilin@users.noreply.github.com> Date: Tue, 28 Nov 2023 13:32:54 +0200 Subject: [PATCH 1/2] Update pyth.md --- docs/build-on-linea/tooling/oracles/pyth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build-on-linea/tooling/oracles/pyth.md b/docs/build-on-linea/tooling/oracles/pyth.md index 6e3264c0d..ecc945a79 100644 --- a/docs/build-on-linea/tooling/oracles/pyth.md +++ b/docs/build-on-linea/tooling/oracles/pyth.md @@ -16,7 +16,7 @@ Pyth is a protocol that allows market participants to publish pricing informatio ## Pyth On-Demand Model -Pyth Network uses an pull price update model that is slightly different from other oracles you may be more familiar with. Most oracles today use a push model, where the oracle runs an off-chain process that continuously sends transactions to update an on-chain price. In contrast, Pyth Network does not operate an off-chain process that pushes prices on-chain. Instead, it delegates this work to Pyth Network users. +Pyth Network uses a pull price update model that is slightly different from other oracles you may be more familiar with. Most oracles today use a push model, where the oracle runs an off-chain process that continuously sends transactions to update an on-chain price. In contrast, Pyth Network does not operate an off-chain process that pushes prices on-chain. Instead, it delegates this work to Pyth Network users. Pyth price updates are created on [Pythnet](https://docs.pyth.network/documentation/how-pyth-works/pythnet) and streamed off-chain via the Wormhole Network, a cross-chain messaging protocol. These updates are signed such that the Pyth on-chain program can verify their authenticity. Updating the on-chain price is a permissionless operation: anyone can submit a valid Wormhole message to the Pyth contract to update the price. Typically, users of Pyth Network prices will submit a single transaction that simultaneously updates the price and uses it in a downstream application. @@ -65,4 +65,4 @@ The price feed IDs for EVM chains differs depending on whether they are a mainne - [Twitter](https://twitter.com/PythNetwork) - [Discord](https://discord.com/invite/PythNetwork) - [Website](https://pyth.network/) -- [Docs](https://docs.pyth.network/documentation) \ No newline at end of file +- [Docs](https://docs.pyth.network/documentation) From 8f258eea867e0af67c1ffd07411bf9e61cdfb582 Mon Sep 17 00:00:00 2001 From: mcisb <83702309+KyryloKilin@users.noreply.github.com> Date: Tue, 28 Nov 2023 13:34:40 +0200 Subject: [PATCH 2/2] Update index.mdx --- docs/architecture/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/architecture/index.mdx b/docs/architecture/index.mdx index 7ac4cf163..23391f2dc 100644 --- a/docs/architecture/index.mdx +++ b/docs/architecture/index.mdx @@ -36,7 +36,7 @@ There are a number of different mental models that people in web3 use to explain **The Ethereum network has several functional areas:** > - It has the _blockchain_, where it keeps track of addresses, and which tokens are allocated to which addresses. -> - It has the _consensus_ mechanism, wherein many many nodes communicate about the movement of tokens from one address to another, and each keeps their local copy of the ledger up to date. +> - It has the _consensus_ mechanism, wherein many nodes communicate about the movement of tokens from one address to another, and each keeps their local copy of the ledger up to date. > - And it has the _execution environment_, wherein computer programs can be run. That's the "EVM", or "Ethereum Virtual Machine", part of things. **These three areas are heavily interconnected, and this is a simplification, but it's a helpful one to understand what's going on with other networks.**