Skip to content

Commit 293452d

Browse files
Merge branch 'main' of https://github.com/0xPolygon/polygon-docs into km/tools_section_2
2 parents f29c5d5 + 8829a46 commit 293452d

File tree

9 files changed

+9
-12
lines changed

9 files changed

+9
-12
lines changed

docs/zkEVM/bridge-to-zkevm.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
Users can deposit assets from Ethereum and transact off-chain on Polygon zkEVM. For moving assets across chains (L1 ↔ zkEVM), you will need to use the zkEVM Bridge. The bridge interface is available for both Mainnet Beta and Testnet in the [Polygon Wallet Suite](https://wallet.polygon.technology/zkEVM/bridge).
66

7-
<!-- Also, bridging can be done with the help of [MaticJS](/docs/develop/ethereum-polygon/matic-js/zkevm/initialize-zkevm/) SDK. -->
87

98
The next video is a guide on how to bridge tokens from L1 to the zkEVM Testnet. The same video applies to the zkEVM Mainnet.
109

1110
<video loop width="100%" height="100%" controls="true" >
12-
<source type="video/mp4" src="../img/zkEVM/zkevmwallettestnet.mp4"></source>
11+
<source type="video/mp4" src="../../img/zkvm/zkevmwallettestnet.mp4"></source>
1312
<p>Your browser does not support the video element.</p>
1413
</video>
1514

docs/zkEVM/protocol/flow-of-assets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ Consider now the case where a user commits to bridging some assets from L2 to L1
4040

4141
For example, the interaction between the Consensus Contract and the Sequencer is omitted in the figure.
4242

43-
For a more wholistic view of the interaction between the Consensus Contract and the Sequencer, the reader is referred to earlier subsections of this documentation, specifically on the [<ins>Consensus Contract</ins>](/zkevm/architecture.md#consensus-contract).
43+
For a more wholistic view of the interaction between the Consensus Contract and the Sequencer, the reader is referred to earlier subsections of this documentation, specifically on the [<ins>Consensus Contract</ins>](../architecture/index.md).
4444

4545
![A end-to-end flow of assets between L1 and L2](../../img/zkEVM/06pzb-complete-asset-flow-l1-l2.png)

docs/zkEVM/protocol/submit-transaction.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
!!!info
32
This document series describes in detail the various forms and stages that L2 users' transactions go through, from the time they are created in users' wallets to the time they are finally verified with indisputable evidence on L1.
43

docs/zkEVM/protocol/transaction-batching.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
!!!info
33
This document is a continuation in the series of articles explaining the [<ins>Transaction Life Cycle</ins>](submit-transaction.md) inside Polygon zkEVM.
44

5+
56
The **Trusted Sequencer** must batch the transactions using the following `BatchData` struct specified in the `PolygonZkEVM.sol` contract:
67

78
```

docs/zkEVM/specifications/evm-differences.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ This document provides a comprehensive list of differences between the Ethereum
55

66
Note that the following differences have no impact on the developer experience with the zkEVM as compared to the EVM. Gas optimization techniques, interacting with libraries like Web3.js and Ethers.js, and deploying contracts works seamlessly on the zkEVM without any overhead.
77

8-
To start deploying your own smart contracts on the zKEVM, check out the [<ins>deployment guide</ins>](/zkevm/develop.md).
9-
108
## Opcodes
119

12-
This section lists out the changes we have done with Opcodes in zKEVM as compared to the EVM.
10+
This section lists the changes we have done with Opcodes in zKEVM as compared to the EVM.
1311

1412
- **SELFDESTRUCT** &rarr; removed and replaced by **SENDALL**.
1513

docs/zkEVM/specifications/pil/configuration-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In order for PIL to securely enable modularity, especially in complex settings s
44

55
## Dependency Inclusion Feature
66

7-
Let's consider a scenario. If the PIL code of Secondary SMs reflects unique properties such as the maximum length (for example, the length $\mathtt{2^{10}}$ of the Multiplier SM as seen in the first line of [the `multiplier.pil` code](/zkevm/PIL/pil-compile.md)), such properties can easily become magic numbers which attackers could use as distinguishers of which computation is running at a given point in time.
7+
Let's consider a scenario. If the PIL code of Secondary SMs reflects unique properties such as the maximum length (for example, the length $\mathtt{2^{10}}$ of the Multiplier SM as seen in the first line of [the `multiplier.pil` code](compiling-using-pilcom.md)), such properties can easily become magic numbers which attackers could use as distinguishers of which computation is running at a given point in time.
88

99
This is where the **dependency inclusion feature** comes in.
1010

docs/zkEVM/specifications/pil/cyclicity-in-pil.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This document describes how to introduce cyclicity to execution traces in Polyno
22

33
In order to synchronize the execution trace of a given program with the subgroup $G$ of the multiplicative group $\mathbb{F}^*$, over which interpolation is performed, an extra constant polynomial (or precompiled column) is added to the trace.
44

5-
An explanation of what this group $G = \langle g \rangle$ is, and why it is naturally a cyclic group, was discussed in the [Basic Concepts](/zkevm/zkProver/mfibonacci-example.md) section of the zkProver.
5+
An explanation of what this group $G = \langle g \rangle$ is, and why it is naturally a cyclic group, was discussed in the [Basic Concepts](../../concepts/mfibonacci-example.md) section of the zkProver.
66

77
## Non-cyclic SM Example
88

docs/zkEVM/specifications/pil/generating-proofs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ async function execute() {
8989

9090
If the output of the `starkVerify` function is `true`, the proof is valid. Otherwise, the verifier should invalidate the proof sent by the prover.
9191

92-
A `pil-stark` DIY guide is given [here](/zkevm/zkProver/pil-stark-demo.md).
92+
A `pil-stark` DIY guide is given [here](../../concepts/pil-stark-demo.md).

docs/zkEVM/specifications/pil/inclusion-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ $$
217217
\texttt{a}\ \text{ is } \textbf{contained in }\ \texttt{b}\ \text{ if for all }\ i ∈ [n],\ \text{ there exists a }\ j ∈ [m]\ \text{ such that }\ a_i = b_j.
218218
$$
219219

220-
In other words, if one thinks of $\texttt{a}$ and $\texttt{b}$ as multisets and reduce them to sets (by removing the multiplicity), then $\texttt{a}$ is contained in $\texttt{b}$ if $\texttt{a}$ is a subset of $\texttt{b}$. See [this document](/zkevm/zkProver/intro-generic-sm.md) for more details on multisets and Plookup.
220+
In other words, if one thinks of $\texttt{a}$ and $\texttt{b}$ as multisets and reduce them to sets (by removing the multiplicity), then $\texttt{a}$ is contained in $\texttt{b}$ if $\texttt{a}$ is a subset of $\texttt{b}$. See [this document](../../concepts/intro-generic-sm.md) for more details on multisets and Plookup.
221221

222222
A protocol $(\mathcal{P},\mathcal{V})$ is an **inclusion argument** if the protocol can be used by $\mathcal{P}$ to prove to $\mathcal{V}$ that one vector is contained in another vector.
223223

224-
In the PIL context, the implemented inclusion argument is the same as the $\text{Plookup}$ method provided in [[GW20](https://eprint.iacr.org/2020/315.pdf)], also discussed [here](/zkevm/zkProver/intro-generic-sm.md). Other "alternative" method exists such as the $\text{PlonkUp}$ described in [[PFM+22](https://eprint.iacr.org/2022/086.pdf)].
224+
In the PIL context, the implemented inclusion argument is the same as the $\text{Plookup}$ method provided in [[GW20](https://eprint.iacr.org/2020/315.pdf)], also discussed [here](../../concepts/intro-generic-sm.md). Other "alternative" method exists such as the $\text{PlonkUp}$ described in [[PFM+22](https://eprint.iacr.org/2022/086.pdf)].
225225

226226
An inclusion argument is invoked in PIL with the "$\texttt{in}$" keyword.
227227

0 commit comments

Comments
 (0)