Skip to content

Commit a27ea93

Browse files
a few updates to the branch with errors
1 parent f3656a8 commit a27ea93

File tree

6 files changed

+20
-57
lines changed

6 files changed

+20
-57
lines changed

docs/cdk/get-started/deploy-rollup/configure-node-deployment.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
1. Create some working directories.
44

55
!!! info
6-
The following commands takes care of directory placements where non-obvious.
6+
The following commands take care of directory placements where non-obvious.
77

88
```sh
99
mkdir -p ~/zkevm/data/{statedb,pooldb} ~/zkevm/zkevm-config ~/zkevm/zkevm-node
@@ -17,13 +17,17 @@
1717
curl -L https://github.com/0xPolygonHermez/zkevm-node/releases/latest/download/$ZKEVM_NET.zip > $ZKEVM_NET.zip && unzip -o $ZKEVM_NET.zip -d $ZKEVM_DIR && rm $ZKEVM_NET.zip
1818
```
1919

20-
3. Copy the `example.env` file into `.env` file and open it for editing.
20+
3. Go to the `zkevm/zkevm-config` directory and copy the `example.env` file into `.env` file and open it for editing.
21+
22+
!!! warning
23+
- There is no `zkevm/mainnet` dir!
24+
- Stopped here today.
25+
- Last week, I hacked this and got the node up but it was also failing on lack of verified contracts.
2126

2227
```sh
23-
export ZKEVM_CONFIG_DIR="/root/zkevm/zkevm-config"
24-
cd ~/zkevm/mainnet
25-
cp example.env .env
26-
nano .env
28+
cd ../zkevm-config/
29+
cp ~/$ZKEVM_DIR/$ZKEVM_NET/example.env $ZKEVM_CONFIG_DIR/.env
30+
vim $ZKEVM_CONFIG_DIR/.env
2731
```
2832

2933
4. In the `.env` file, set the following:

docs/cdk/get-started/deploy-rollup/create-wallets.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ npm i
9494
9595
1. `cd` back to `zkevm-contract` root directory and run the deployment scripts.
9696
97+
!!! tip
98+
It might be helpful to run these one at a time.
99+
97100
```sh
98101
cd ..
99102
npm i @openzeppelin/hardhat-upgrades
@@ -103,7 +106,7 @@ npm i
103106
npm run verify:ZkEVM:goerli
104107
```
105108
106-
You should output that looks something like this at the start each time:
109+
You should see output that looks something like this at the start each time:
107110
108111
```sh
109112
> @0xpolygonhermez/zkevm-contracts@3.0.0 deploy:deployer:ZkEVM:goerli

docs/cdk/get-started/deploy-rollup/install-dependencies.md

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -49,43 +49,4 @@ echo '
4949
[ -d "/usr/local/go/bin" ] && PATH="/usr/local/go/bin:$PATH"
5050
' >> ~/.profile
5151
source .profile
52-
```
53-
54-
<!--
55-
## Download/extract mainnet files
56-
57-
Next step in the process is to download the mainnet files.
58-
59-
!!! important
60-
- The download is over **70GB**.
61-
- You might like to run the download in a tmux/screen session to handle any network interruptions.
62-
63-
The files are located in several urls, so a script can be used as shown below:
64-
65-
```sh
66-
urls=(
67-
"https://storage.googleapis.com/zkevm/zkproverc/v0.6.0.0-rc.1.tgz"
68-
"https://storage.googleapis.com/zkevm/zkproverc/v0.7.0.0-rc.1.tgz"
69-
"https://storage.googleapis.com/zkevm/zkproverc/v0.7.0.0-rc.3.tgz"
70-
"https://storage.googleapis.com/zkevm/zkproverc/v0.7.0.0-rc.7-fork.1.tgz"
71-
"https://storage.googleapis.com/zkevm/zkproverc/v0.8.0.0-rc.1-fork.1.tgz"
72-
"https://storage.googleapis.com/zkevm/zkproverc/v0.8.0.0-rc.2-forkid.2.tgz"
73-
"https://storage.googleapis.com/zkevm/zkproverc/v1.0.0-rc.1-fork.3.tgz"
74-
"https://storage.googleapis.com/zkevm/zkproverc/v1.1.0-rc.1-fork.4.tgz"
75-
"https://storage.googleapis.com/zkevm/zkproverc/v2.0.0-RC4-fork.5.tgz"
76-
"https://storage.googleapis.com/zkevm/zkproverc/v3.0.0-RC2-fork.6.tgz"
77-
"https://storage.googleapis.com/zkevm/zkproverc/v3.0.0-RC3-fork.6.tgz"
78-
)
79-
80-
for url in "${urls[@]}"; do
81-
aria2c -x6 -s6 "$url"
82-
done
83-
```
84-
85-
Once the download is finished, you should extract the files using the following command:
86-
87-
```bash
88-
tar xzvf v1.1.0-rc.1-fork.4.tgz
89-
```
90-
91-
-->
52+
```

docs/cdk/get-started/deploy-rollup/intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
This quick start takes you through the process of deploying a full CDK zkRollup, EVM-compatible network on Goerli.
22

3-
!!!caution
4-
- This quick start is subject to frequent updates as the software remains at an early development stage.
5-
- Please [open a ticket](https://support.polygon.technology/support/tickets/new) or reach out to the [support team on Discord](https://discord.com/invite/0xPolygon) if you encounter any issues.
3+
!!! warning
4+
- These instructions are subject to frequent updates as the software remains at an early development stage.
5+
- Report any issues on our docs repo: https://github.com/0xPolygon/polygon-docs
66

77
The process is split into the following sections:
88

docs/cdk/get-started/deploy-rollup/prerequisites.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44
- At least 16GB RAM with a 4-core CPU.
55
- An AMD64 architecture system.
66

7-
!!! info "Setting up a Linux VM on Windows or Mac"
8-
- Install a hypervisor, e.g., VirtualBox, VMware Fusion (MacOS), VMware Workstation (Windows), VMware ESXi (Bare Metal Hypervisor).
9-
- Setup a virtual machine, e.g., if you are using VirtualBox, which is open-source, Vagrant is the quickest way to automatically setup a virtual machine and also set up ssh private/public keys.
10-
- Install Linux as Guest OS, preferably the latest version of Ubuntu Linux.
11-
127
!!! info "Computing resources"
13-
- The downloaded mainnet files are 70GB in size.
148
- Running a full prover is an enterprise level installation and extremely resource-heavy.
159
- These instructions run the mock prover instead.
1610

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ nav:
5757
- Configure node deployment: cdk/get-started/deploy-rollup/configure-node-deployment.md
5858
- Configure prover: cdk/get-started/deploy-rollup/configure-prover.md
5959
- Start services: cdk/get-started/deploy-rollup/start-services.md
60+
- Connect to CDK testnet: cdk/get-started/connect-testnet.md
6061
- How to:
6162
- Manage allowlists with policies: cdk/how-to/manage-policies.md
6263
- Architecture:
@@ -648,4 +649,4 @@ extra_javascript:
648649
- https://polyfill.io/v3/polyfill.min.js?features=es6
649650
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
650651
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
651-
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
652+
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js

0 commit comments

Comments
 (0)