-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into kernel-debug
- Loading branch information
Showing
79 changed files
with
3,855 additions
and
2,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
* @muursh @Nashtare | ||
/evm_arithmetization/ @wborgeaud @muursh @Nashtare @LindaGuiga | ||
/zero/ @muursh @Nashtare @atanmarko | ||
/smt_trie/ @0xaatif @muursh @Nashtare | ||
/mpt_trie/ @0xaatif @Nashtare @muursh | ||
/trace_decoder/ @0xaatif @muursh @Nashtare | ||
.github/ @0xaatif @atanmarko @muursh @Nashtare | ||
* @Nashtare @paulgoleary | ||
/evm_arithmetization/ @wborgeaud @Nashtare @LindaGuiga | ||
/zero/ @Nashtare @atanmarko @0xaatif | ||
/smt_trie/ @0xaatif @Nashtare | ||
/mpt_trie/ @0xaatif @Nashtare | ||
/trace_decoder/ @0xaatif @Nashtare | ||
.github/ @0xaatif @atanmarko @Nashtare | ||
/vscode-extension @0xaatif | ||
/evm_arithmetization/src/bin/lsp-server.rs @0xaatif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- # MD Book generation and deployment workflow | ||
|
||
name: zkEVM mdbook | ||
|
||
on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- # Workflow for building and running docker images as regression test | ||
|
||
name: Docker Build & Run | ||
|
||
on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- # Workflow for building and deploying docker images | ||
|
||
name: Docker Build & Push | ||
|
||
on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- # Run and populate blockchain with transactions and generate proofs using native tracer | ||
|
||
name: Jerigon Integration | ||
|
||
on: | ||
|
@@ -19,7 +21,6 @@ jobs: | |
name: Native tracer proof generation | ||
runs-on: zero-ci | ||
timeout-minutes: 30 | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
@@ -52,16 +53,17 @@ jobs: | |
run: | | ||
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list | ||
sudo apt update | ||
sudo apt install kurtosis-cli | ||
sudo apt install kurtosis-cli=1.3.1 | ||
#It is much easier to use cast tool in scripts so install foundry | ||
# It is much easier to use cast tool in scripts so install foundry | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Run cancun test network | ||
run: | | ||
docker pull ghcr.io/0xpolygonzero/erigon:feat-zero | ||
kurtosis run --enclave cancun-testnet github.com/ethpandaops/[email protected] --args-file jerigon-test-network/network_params.yml | ||
kurtosis run --enclave cancun-testnet github.com/ethpandaops/[email protected] \ | ||
--args-file jerigon-test-network/network_params.yml | ||
- name: Generate blocks with transactions | ||
run: | | ||
|
@@ -74,14 +76,14 @@ jobs: | |
run: | | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
ulimit -n 8192 | ||
OUTPUT_TO_TERMINAL=true ./scripts/prove_rpc.sh 0x1 0xf $ETH_RPC_URL native true 3000 100 test_only | ||
OUTPUT_TO_TERMINAL=true ./scripts/prove_rpc.sh 1 15 $ETH_RPC_URL native 0 3000 100 test_only | ||
echo "Proving blocks in test_only mode finished" | ||
- name: Run prove blocks with native tracer in real mode | ||
run: | | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
rm -rf proofs/* circuits/* ./proofs.json test.out verify.out leader.out | ||
OUTPUT_TO_TERMINAL=true RUN_VERIFICATION=true ./scripts/prove_rpc.sh 0x4 0x7 $ETH_RPC_URL native true 3000 100 | ||
OUTPUT_TO_TERMINAL=true RUN_VERIFICATION=true ./scripts/prove_rpc.sh 4 7 $ETH_RPC_URL native 3 3000 100 | ||
echo "Proving blocks in real mode finished" | ||
- name: Shut down network | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- # Run and populate blockchain with transactions and generate proofs using zero tracer | ||
|
||
name: Jerigon Integration | ||
|
||
on: | ||
|
@@ -10,7 +12,6 @@ on: | |
branches: | ||
- "**" | ||
|
||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
REGISTRY: ghcr.io | ||
|
@@ -20,22 +21,21 @@ jobs: | |
name: Zero tracer proof generation | ||
runs-on: zero-ci | ||
timeout-minutes: 30 | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Checkout test-jerigon-network sources | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: 0xPolygonZero/jerigon-test-network | ||
ref: 'feat/kurtosis-network' | ||
ref: "feat/kurtosis-network" | ||
path: jerigon-test-network | ||
|
||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
|
@@ -53,43 +53,40 @@ jobs: | |
run: | | ||
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list | ||
sudo apt update | ||
sudo apt install kurtosis-cli | ||
sudo apt install kurtosis-cli=1.3.1 | ||
#It is much easier to use cast tool in scripts so install foundry | ||
# It is much easier to use cast tool in scripts so install foundry | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Run cancun test network | ||
run: | | ||
docker pull ghcr.io/0xpolygonzero/erigon:feat-zero | ||
kurtosis run --enclave cancun-testnet github.com/ethpandaops/[email protected] --args-file jerigon-test-network/network_params.yml | ||
kurtosis run --enclave cancun-testnet github.com/ethpandaops/[email protected] \ | ||
--args-file jerigon-test-network/network_params.yml | ||
- name: Generate blocks with transactions | ||
run: | | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
cast rpc eth_blockNumber --rpc-url $ETH_RPC_URL | ||
cd jerigon-test-network && set -a && source .env && set +a | ||
bash ./tests/generate_transactions.sh | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
cast rpc eth_blockNumber --rpc-url $ETH_RPC_URL | ||
cd jerigon-test-network && set -a && source .env && set +a | ||
bash ./tests/generate_transactions.sh | ||
- name: Run prove blocks with zero tracer in test_only mode | ||
run: | | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
ulimit -n 8192 | ||
OUTPUT_TO_TERMINAL=true ./scripts/prove_rpc.sh 0x1 0xf $ETH_RPC_URL jerigon true 3000 100 test_only | ||
OUTPUT_TO_TERMINAL=true ./scripts/prove_rpc.sh 1 15 $ETH_RPC_URL jerigon 0 3000 100 test_only | ||
echo "Proving blocks in test_only mode finished" | ||
- name: Run prove blocks with zero tracer in real mode | ||
run: | | ||
ETH_RPC_URL="$(kurtosis port print cancun-testnet el-2-erigon-lighthouse ws-rpc)" | ||
rm -rf proofs/* circuits/* ./proofs.json test.out verify.out leader.out | ||
OUTPUT_TO_TERMINAL=true RUN_VERIFICATION=true ./scripts/prove_rpc.sh 0x2 0x5 $ETH_RPC_URL jerigon true 3000 100 | ||
OUTPUT_TO_TERMINAL=true RUN_VERIFICATION=true ./scripts/prove_rpc.sh 2 5 $ETH_RPC_URL jerigon 1 3000 100 | ||
echo "Proving blocks in real mode finished" | ||
- name: Shut down network | ||
run: | | ||
kurtosis enclave rm -f cancun-testnet | ||
kurtosis engine stop | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.