Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 1.84 KB

running_local.md

File metadata and controls

78 lines (57 loc) · 1.84 KB

WARNING: This documentation is outdated, it will be updated soon

Steps to run environment locally

Overview

This documentation will help you running the following components:

  • zkEVM Node Databases
  • zkEVM Bridge Database
  • L1 Network
  • Prover
  • zkEVM Node
  • zkEVM Bridge Service

Requirements

The current version of the environment requires go, docker and docker-compose to be previously installed, check the links bellow to understand how to install them:

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-docker

Controlling the environment

All 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 run

To stop the environment:

make stop

To run e2e and edge tests:

make test-full
make test-edge

Accessing the environment

  • zkEVM Bridge Database
    • Type: Postgres DB
    • User: test_user
    • Password: test_password
    • Database: test_db
    • Host: localhost
    • Port: 5435
    • Url: postgres://test_user:test_password@localhost:5435/test_db
  • zkEVM Bridge Service

SC Addresses

Address Description
0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6 Proof of Efficiency
0x0165878A594ca255338adfa4d48449f69242Eb8F L1 Bridge
0x9d98deabc42dd696deb9e40b4f1cab7ddbf55988 L2 Bridge
0x5FbDB2315678afecb367f032d93F642f64180aa3 Matic token
0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9 GlobalExitRootManager