WARNING: This documentation is outdated, it will be updated soon
This documentation will help you running the following components:
- zkEVM Node Databases
- zkEVM Bridge Database
- L1 Network
- Prover
- zkEVM Node
- zkEVM Bridge Service
The current version of the environment requires go, docker and docker-compose to be previously installed, check the links below to understand how to install them:
- https://go.dev/doc/install
- https://www.docker.com/get-started
- https://docs.docker.com/compose/install/
The zkevm-bridge-service docker image must be built at least once and every time a change is made to the code.
If you haven't build the zkevm-bridge-service image yet, you must run:
make build-dockerAll the data is stored inside of each docker container, this means once you remove the container, the data will be lost.
To run the environment:
make runTo stop the environment:
make stopTo run e2e and edge tests:
make test-full
make test-edge- zkEVM Bridge Database
Type:Postgres DBUser:test_userPassword:test_passwordDatabase:test_dbHost:localhostPort:5435Url:postgres://test_user:test_password@localhost:5435/test_db
- zkEVM Bridge Service
Type:WebHost:localhostPort:8080Url:http://localhost:8080
| Address | Description |
|---|---|
| 0xFe12ABaa190Ef0c8638Ee0ba9F828BF41368Ca0E | L1 Bridge |
| 0xFe12ABaa190Ef0c8638Ee0ba9F828BF41368Ca0E | L2 Bridge |
| 0x5FbDB2315678afecb367f032d93F642f64180aa3 | Pol token |
| 0x8A791620dd6260079BF849Dc5567aDC3F2FdC318 | GlobalExitRootManager |
| 0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e | RollupManager |
If you need account with funds you can use the deposit script to fund an account. For a list with accounts that already have ETH check out node's docs.
You can exchange the l1AccHexAddress and l1AccHexPrivateKey and once executing the script with
go run test/scripts/deposit/main.go
the account that you've specified under l1AccHexAddress would have been funded on L2.