GitXplorerGitXplorer
s

scroll

public
616 stars
563 forks
7 issues

Commits

List of commits on branch develop.
Verified
404a625cb40b3f64a639e28dd58fb4dba243b4b5

feat(rollup-relayer): add sync height and throughput metrics (#1520)

ccolinlyguo committed 8 hours ago
Verified
736d850be1b17990ac5f5c756bf44c440488983e

feat(l2-watcher): add nil row consumption block metric (#1518)

ccolinlyguo committed 2 days ago
Verified
246bf38e693071b9dd51f5f70bf198a12cc72f2c

feat(database): allow environment variables to override config.json (#1517)

yyiweichi committed 10 days ago
Verified
bce33834ab2a48ce64b91bf9d3e5a32ad7a11101

fix(coordinator): assign chunk task bug (#1515)

ggeorgehao committed 20 days ago
Verified
ae8c858a071c84647f921d91aa8fdee320f6c433

fix(prover): fix degrees logic in prover new (#1512)

aamoylan2 committed 22 days ago
Verified
2ee1c898f0b85987b3cf6edb56ffe697f5df803c

fix: override config values use viper (#1502)

yyiweichi committed 23 days ago

README

The README file for this repository.

Scroll Monorepo

rollup bridge-history coordinator prover integration codecov

Scroll is a zkRollup Layer 2 dedicated to enhance Ethereum scalability through a bytecode-equivalent zkEVM circuit. This monorepo encompasses essential infrastructure components of the Scroll protocol. It contains the L1 and L2 contracts, the rollup node, the prover client, and the prover coordinator.

Directory Structure

├── bridge-history-api: Bridge history service that collects deposit and withdraw events from both L1 and L2 chains and generates withdrawal proofs
├── common: Common libraries and types
├── coordinator: Prover coordinator service that dispatches proving tasks to provers
├── database: Database client and schema definition
├── prover: Prover client that runs proof generation for zkEVM circuit and aggregation circuit
├── rollup: Rollup-related services
├── scroll-contracts: solidity code for Scroll L1 bridge and rollup contracts and L2 bridge and pre-deployed contracts.
└── tests: Integration tests

Contributing

We welcome community contributions to this repository. Before you submit any issues or PRs, please read the Code of Conduct and the Contribution Guideline.

Prerequisites

  • Go 1.21
  • Rust (for version, see rust-toolchain)
  • Hardhat / Foundry
  • Docker

To run the tests, it is essential to first pull or build the required Docker images. Execute the following commands in the root directory of the repository to do this:

docker pull postgres
make dev_docker

Unit Tests

Run the tests using the following commands:

go test -v -race -covermode=atomic scroll-tech/rollup/...
go test -tags="mock_verifier" -v -race -covermode=atomic scroll-tech/coordinator/...
go test -v -race -covermode=atomic scroll-tech/database/...
go test -v -race -covermode=atomic scroll-tech/common/...

License

Scroll Monorepo is licensed under the MIT license.