mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 15:38:06 -05:00
Fix: update get started doc for node version (#3853)
* fix: update get started doc for node version * fix: update pnpm version in the doc * fix: update synctx node engines version
This commit is contained in:
2
Makefile
2
Makefile
@@ -9,7 +9,7 @@ $(shell \
|
||||
)
|
||||
endef
|
||||
|
||||
npm-install:
|
||||
pnpm-install:
|
||||
pnpm install
|
||||
|
||||
docker-pull-develop:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "contracts",
|
||||
"engines": {
|
||||
"node": ">=18",
|
||||
"node": ">=20",
|
||||
"pnpm": ">=9"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -2,17 +2,18 @@
|
||||
|
||||
### Requirements:
|
||||
|
||||
- Node.js v18
|
||||
- Docker v24
|
||||
- Node.js v20 or higher
|
||||
- Docker v24 or higher
|
||||
- Docker Compose version v2.19+
|
||||
- Make v3.81+
|
||||
- Pnpm >=v9.0.6 (https://pnpm.io/installation)
|
||||
- Pnpm >=v9.1.1 (https://pnpm.io/installation)
|
||||
|
||||
### Run stack locally
|
||||
|
||||
#### Install Node dependencies
|
||||
|
||||
```
|
||||
make npm-install
|
||||
make pnpm-install
|
||||
```
|
||||
|
||||
#### Start stack & run E2E tests
|
||||
@@ -25,11 +26,13 @@ pnpm run test:e2e:local
|
||||
```
|
||||
|
||||
To stop that stack run:
|
||||
|
||||
```
|
||||
make clean-enviroment
|
||||
```
|
||||
|
||||
While running the end2end tests, you should observe files being generated in `tmp/local/` directory.
|
||||
|
||||
```
|
||||
├── local
|
||||
│ ├── prover
|
||||
@@ -60,6 +63,7 @@ While running the end2end tests, you should observe files being generated in `tm
|
||||
```
|
||||
|
||||
#### Troubleshooting
|
||||
|
||||
- Docker: Sometimes restarting the stack several times may lead to network/state issues. The following commands may help. **Note:** Please be aware that this will permanently remove all docker images, containers and **docker volumes** and any data saved it them.
|
||||
|
||||
```
|
||||
@@ -68,7 +72,8 @@ docker system prune --volumes
|
||||
```
|
||||
|
||||
## Tuning in conflation
|
||||
For local testing and development conflation deadline is set to 6s `conflation-deadline=PT6S` in `config/coordinator/coordinator-docker.config.toml` file. Hence, only 2 blocks conflation. If you want bigger conflations, increase the deadline accordingly.
|
||||
|
||||
For local testing and development conflation deadline is set to 6s `conflation-deadline=PT6S` in `config/coordinator/coordinator-docker.config.toml` file. Hence, only 2 blocks conflation. If you want bigger conflations, increase the deadline accordingly.
|
||||
|
||||
## Next steps
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"ethers": "^5.7.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
"node": ">=20"
|
||||
},
|
||||
"files": [
|
||||
"/bin",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "zkevm-monorepo",
|
||||
"author": "Consensys Software Inc.",
|
||||
"engines": {
|
||||
"node": ">=18",
|
||||
"node": ">=20",
|
||||
"pnpm": ">=9"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user