├── .cargo └── config.toml ├── .develatus-apparatus.mjs ├── .dockerignore ├── .env.example ├── .github └── workflows │ ├── autogen.yml │ ├── coverage.yml │ ├── docker.sh │ ├── docker.yml │ ├── github-ops.yml │ ├── lint.yml │ ├── pi-eth-transfer.yml │ ├── pi-native-withdraw.yml │ ├── super-eth-transfer.yml │ ├── super-native-withdraw.yml │ └── super-worst-case-mload.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── common ├── Cargo.toml └── src │ ├── json_rpc.rs │ ├── lib.rs │ └── prover.rs ├── contracts ├── Proxy.sol ├── ZkEvmBridgeEvents.sol ├── ZkEvmL1Bridge.sol ├── ZkEvmL2MessageDeliverer.sol ├── ZkEvmL2MessageDispatcher.sol ├── ZkEvmMagicNumbers.sol ├── ZkEvmMessageDelivererBase.sol ├── ZkEvmMessageDispatcher.sol ├── ZkEvmStorage.sol ├── ZkEvmUtils.sol ├── generated │ ├── .gitignore │ └── CircuitConfig.sol ├── interfaces │ ├── ICrossDomainMessenger.sol │ ├── IZkEvmMessageDelivererBase.sol │ ├── IZkEvmMessageDelivererWithProof.sol │ └── IZkEvmMessageDispatcher.sol ├── optimism │ ├── L1OptimismBridge.sol │ ├── L2OptimismBridge.sol │ └── OptimismWrapper.sol ├── templates │ ├── CommonBlockOperations.sol │ ├── HeaderUtil.sol │ ├── InstanceVerifier.sol │ ├── PatriciaValidator.sol │ ├── PublicInput.sol │ ├── mpt.yul │ ├── rlp.yul │ └── utils.yul └── tests │ └── ZkEvmTest.sol ├── coordinator ├── .gitignore ├── Cargo.toml ├── src │ ├── bin │ │ └── coordinator.rs │ ├── config.rs │ ├── faucet.rs │ ├── lib.rs │ ├── macros.rs │ ├── shared_state.rs │ ├── structs.rs │ └── utils.rs └── tests │ ├── chain.rs │ ├── commitment │ └── mod.rs │ ├── common │ └── mod.rs │ ├── deploy.rs │ ├── misc.rs │ ├── patricia.rs │ ├── patricia │ ├── test-data-0000000000000000000000000000000000020000.json │ ├── test-data-68b3465833fb72a70ecdf485e0e4c7bd8665fc45.json │ └── test-data-a5409ec958c83c3f309868babaca7c86dcb077c1.json │ ├── verifier.rs │ ├── verifier │ ├── 0-0.json.xz │ ├── 1-5.json.xz │ ├── 2-1.json.xz │ ├── 3-3072.json.xz │ └── 4-1024.json.xz │ └── worst_case.rs ├── dev ├── Cargo.toml ├── src │ ├── bytecode.rs │ ├── genesis.rs │ └── lib.rs └── tests │ └── autogen.rs ├── docker-compose-perf.yml ├── docker-compose-pub.yml ├── docker-compose.yml ├── docker ├── coordinator │ └── Dockerfile ├── dev │ └── Dockerfile ├── geth │ ├── Dockerfile │ ├── init.sh │ └── templates │ │ ├── l1-testnet.json │ │ └── l2-testnet.json ├── prover │ └── Dockerfile └── web │ ├── Dockerfile │ └── nginx.conf ├── docs └── README.md ├── prover ├── Cargo.toml ├── src │ ├── aggregation_circuit.rs │ ├── bin │ │ ├── gen_params.rs │ │ ├── prover_cmd.rs │ │ └── prover_rpcd.rs │ ├── circuit_autogen.rs │ ├── circuit_witness.rs │ ├── circuits.rs │ ├── lib.rs │ ├── server.rs │ ├── shared_state.rs │ └── utils.rs └── tests │ ├── autogen.rs │ ├── proverd.rs │ └── verifier.rs ├── rust-toolchain ├── rustfmt.toml └── scripts ├── autogen.sh ├── ci_autogen_commit.sh ├── ci_commit_errors.sh ├── compile_contracts.sh ├── dev.sh ├── get_block_fixtures.sh ├── heavy_ci.sh ├── lint.sh ├── patch_genesis.mjs ├── purge_chain.sh ├── rpc_prover.sh ├── test_coverage.sh └── test_prover.sh /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.develatus-apparatus.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.develatus-apparatus.mjs -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/autogen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/autogen.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/docker.sh -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.github/workflows/github-ops.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/github-ops.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/pi-eth-transfer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/pi-eth-transfer.yml -------------------------------------------------------------------------------- /.github/workflows/pi-native-withdraw.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/pi-native-withdraw.yml -------------------------------------------------------------------------------- /.github/workflows/super-eth-transfer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/super-eth-transfer.yml -------------------------------------------------------------------------------- /.github/workflows/super-native-withdraw.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/super-native-withdraw.yml -------------------------------------------------------------------------------- /.github/workflows/super-worst-case-mload.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/.github/workflows/super-worst-case-mload.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.env 2 | build/ 3 | target/ 4 | .idea/ 5 | .vscode/ 6 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/README.md -------------------------------------------------------------------------------- /common/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/common/Cargo.toml -------------------------------------------------------------------------------- /common/src/json_rpc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/common/src/json_rpc.rs -------------------------------------------------------------------------------- /common/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/common/src/lib.rs -------------------------------------------------------------------------------- /common/src/prover.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/common/src/prover.rs -------------------------------------------------------------------------------- /contracts/Proxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/Proxy.sol -------------------------------------------------------------------------------- /contracts/ZkEvmBridgeEvents.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmBridgeEvents.sol -------------------------------------------------------------------------------- /contracts/ZkEvmL1Bridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmL1Bridge.sol -------------------------------------------------------------------------------- /contracts/ZkEvmL2MessageDeliverer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmL2MessageDeliverer.sol -------------------------------------------------------------------------------- /contracts/ZkEvmL2MessageDispatcher.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmL2MessageDispatcher.sol -------------------------------------------------------------------------------- /contracts/ZkEvmMagicNumbers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmMagicNumbers.sol -------------------------------------------------------------------------------- /contracts/ZkEvmMessageDelivererBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmMessageDelivererBase.sol -------------------------------------------------------------------------------- /contracts/ZkEvmMessageDispatcher.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmMessageDispatcher.sol -------------------------------------------------------------------------------- /contracts/ZkEvmStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmStorage.sol -------------------------------------------------------------------------------- /contracts/ZkEvmUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/ZkEvmUtils.sol -------------------------------------------------------------------------------- /contracts/generated/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /contracts/generated/CircuitConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/generated/CircuitConfig.sol -------------------------------------------------------------------------------- /contracts/interfaces/ICrossDomainMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/interfaces/ICrossDomainMessenger.sol -------------------------------------------------------------------------------- /contracts/interfaces/IZkEvmMessageDelivererBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/interfaces/IZkEvmMessageDelivererBase.sol -------------------------------------------------------------------------------- /contracts/interfaces/IZkEvmMessageDelivererWithProof.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/interfaces/IZkEvmMessageDelivererWithProof.sol -------------------------------------------------------------------------------- /contracts/interfaces/IZkEvmMessageDispatcher.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/interfaces/IZkEvmMessageDispatcher.sol -------------------------------------------------------------------------------- /contracts/optimism/L1OptimismBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/optimism/L1OptimismBridge.sol -------------------------------------------------------------------------------- /contracts/optimism/L2OptimismBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/optimism/L2OptimismBridge.sol -------------------------------------------------------------------------------- /contracts/optimism/OptimismWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/optimism/OptimismWrapper.sol -------------------------------------------------------------------------------- /contracts/templates/CommonBlockOperations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/CommonBlockOperations.sol -------------------------------------------------------------------------------- /contracts/templates/HeaderUtil.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/HeaderUtil.sol -------------------------------------------------------------------------------- /contracts/templates/InstanceVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/InstanceVerifier.sol -------------------------------------------------------------------------------- /contracts/templates/PatriciaValidator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/PatriciaValidator.sol -------------------------------------------------------------------------------- /contracts/templates/PublicInput.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/PublicInput.sol -------------------------------------------------------------------------------- /contracts/templates/mpt.yul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/mpt.yul -------------------------------------------------------------------------------- /contracts/templates/rlp.yul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/rlp.yul -------------------------------------------------------------------------------- /contracts/templates/utils.yul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/templates/utils.yul -------------------------------------------------------------------------------- /contracts/tests/ZkEvmTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/contracts/tests/ZkEvmTest.sol -------------------------------------------------------------------------------- /coordinator/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | prover_cmd 3 | -------------------------------------------------------------------------------- /coordinator/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/Cargo.toml -------------------------------------------------------------------------------- /coordinator/src/bin/coordinator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/bin/coordinator.rs -------------------------------------------------------------------------------- /coordinator/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/config.rs -------------------------------------------------------------------------------- /coordinator/src/faucet.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/faucet.rs -------------------------------------------------------------------------------- /coordinator/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/lib.rs -------------------------------------------------------------------------------- /coordinator/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/macros.rs -------------------------------------------------------------------------------- /coordinator/src/shared_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/shared_state.rs -------------------------------------------------------------------------------- /coordinator/src/structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/structs.rs -------------------------------------------------------------------------------- /coordinator/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/src/utils.rs -------------------------------------------------------------------------------- /coordinator/tests/chain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/chain.rs -------------------------------------------------------------------------------- /coordinator/tests/commitment/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/commitment/mod.rs -------------------------------------------------------------------------------- /coordinator/tests/common/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/common/mod.rs -------------------------------------------------------------------------------- /coordinator/tests/deploy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/deploy.rs -------------------------------------------------------------------------------- /coordinator/tests/misc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/misc.rs -------------------------------------------------------------------------------- /coordinator/tests/patricia.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/patricia.rs -------------------------------------------------------------------------------- /coordinator/tests/patricia/test-data-0000000000000000000000000000000000020000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/patricia/test-data-0000000000000000000000000000000000020000.json -------------------------------------------------------------------------------- /coordinator/tests/patricia/test-data-68b3465833fb72a70ecdf485e0e4c7bd8665fc45.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/patricia/test-data-68b3465833fb72a70ecdf485e0e4c7bd8665fc45.json -------------------------------------------------------------------------------- /coordinator/tests/patricia/test-data-a5409ec958c83c3f309868babaca7c86dcb077c1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/patricia/test-data-a5409ec958c83c3f309868babaca7c86dcb077c1.json -------------------------------------------------------------------------------- /coordinator/tests/verifier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier.rs -------------------------------------------------------------------------------- /coordinator/tests/verifier/0-0.json.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier/0-0.json.xz -------------------------------------------------------------------------------- /coordinator/tests/verifier/1-5.json.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier/1-5.json.xz -------------------------------------------------------------------------------- /coordinator/tests/verifier/2-1.json.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier/2-1.json.xz -------------------------------------------------------------------------------- /coordinator/tests/verifier/3-3072.json.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier/3-3072.json.xz -------------------------------------------------------------------------------- /coordinator/tests/verifier/4-1024.json.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/verifier/4-1024.json.xz -------------------------------------------------------------------------------- /coordinator/tests/worst_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/coordinator/tests/worst_case.rs -------------------------------------------------------------------------------- /dev/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/dev/Cargo.toml -------------------------------------------------------------------------------- /dev/src/bytecode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/dev/src/bytecode.rs -------------------------------------------------------------------------------- /dev/src/genesis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/dev/src/genesis.rs -------------------------------------------------------------------------------- /dev/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/dev/src/lib.rs -------------------------------------------------------------------------------- /dev/tests/autogen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/dev/tests/autogen.rs -------------------------------------------------------------------------------- /docker-compose-perf.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker-compose-perf.yml -------------------------------------------------------------------------------- /docker-compose-pub.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker-compose-pub.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/coordinator/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/coordinator/Dockerfile -------------------------------------------------------------------------------- /docker/dev/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/dev/Dockerfile -------------------------------------------------------------------------------- /docker/geth/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/geth/Dockerfile -------------------------------------------------------------------------------- /docker/geth/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/geth/init.sh -------------------------------------------------------------------------------- /docker/geth/templates/l1-testnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/geth/templates/l1-testnet.json -------------------------------------------------------------------------------- /docker/geth/templates/l2-testnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/geth/templates/l2-testnet.json -------------------------------------------------------------------------------- /docker/prover/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/prover/Dockerfile -------------------------------------------------------------------------------- /docker/web/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/web/Dockerfile -------------------------------------------------------------------------------- /docker/web/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docker/web/nginx.conf -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/docs/README.md -------------------------------------------------------------------------------- /prover/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/Cargo.toml -------------------------------------------------------------------------------- /prover/src/aggregation_circuit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/aggregation_circuit.rs -------------------------------------------------------------------------------- /prover/src/bin/gen_params.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/bin/gen_params.rs -------------------------------------------------------------------------------- /prover/src/bin/prover_cmd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/bin/prover_cmd.rs -------------------------------------------------------------------------------- /prover/src/bin/prover_rpcd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/bin/prover_rpcd.rs -------------------------------------------------------------------------------- /prover/src/circuit_autogen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/circuit_autogen.rs -------------------------------------------------------------------------------- /prover/src/circuit_witness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/circuit_witness.rs -------------------------------------------------------------------------------- /prover/src/circuits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/circuits.rs -------------------------------------------------------------------------------- /prover/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/lib.rs -------------------------------------------------------------------------------- /prover/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/server.rs -------------------------------------------------------------------------------- /prover/src/shared_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/shared_state.rs -------------------------------------------------------------------------------- /prover/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/src/utils.rs -------------------------------------------------------------------------------- /prover/tests/autogen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/tests/autogen.rs -------------------------------------------------------------------------------- /prover/tests/proverd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/tests/proverd.rs -------------------------------------------------------------------------------- /prover/tests/verifier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/prover/tests/verifier.rs -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2022-09-17 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 100 2 | edition = "2021" 3 | -------------------------------------------------------------------------------- /scripts/autogen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/autogen.sh -------------------------------------------------------------------------------- /scripts/ci_autogen_commit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/ci_autogen_commit.sh -------------------------------------------------------------------------------- /scripts/ci_commit_errors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/ci_commit_errors.sh -------------------------------------------------------------------------------- /scripts/compile_contracts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/compile_contracts.sh -------------------------------------------------------------------------------- /scripts/dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/dev.sh -------------------------------------------------------------------------------- /scripts/get_block_fixtures.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/get_block_fixtures.sh -------------------------------------------------------------------------------- /scripts/heavy_ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/heavy_ci.sh -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/lint.sh -------------------------------------------------------------------------------- /scripts/patch_genesis.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/patch_genesis.mjs -------------------------------------------------------------------------------- /scripts/purge_chain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/purge_chain.sh -------------------------------------------------------------------------------- /scripts/rpc_prover.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/rpc_prover.sh -------------------------------------------------------------------------------- /scripts/test_coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/test_coverage.sh -------------------------------------------------------------------------------- /scripts/test_prover.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smtmfft/zkevm-chain/HEAD/scripts/test_prover.sh --------------------------------------------------------------------------------