forked from erigontech/erigon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/zkevm' into zkevm-2.60
- Loading branch information
Showing
87 changed files
with
2,578 additions
and
807 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Hourly - Envs Checker | ||
|
||
on: | ||
schedule: | ||
- cron: '0 * * * *' # hourly | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-node: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
include: | ||
- name: "Integration 5 - Legacy" | ||
network: "integration-5" | ||
rpc: "http://34.175.214.161:8505" | ||
- name: "Integration 5 - Erigon RPC" | ||
network: "integration-5" | ||
rpc: "http://34.175.214.161:8500" | ||
- name: "Integration 5 - Erigon Sequencer" | ||
network: "integration-5" | ||
rpc: "http://34.175.214.161:8005" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Build Go application | ||
run: go build -o check_node | ||
|
||
- name: Run tests | ||
run: ./check_node -rpcURL=${{ matrix.rpc }} -nodeName=${{ matrix.name }} |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Nightly - BridgeMessage | ||
|
||
on: | ||
schedule: | ||
- cron: '0 1 * * *' # run at 1am | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-run: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- profile_name: "network5" | ||
l1_ep: "https://rpc.eu-central-1.gateway.fm/v4/ethereum/non-archival/sepolia" | ||
l2_ep: "http://34.175.214.161:8500" | ||
bridge_ep: "http://34.175.214.161:8085" | ||
l1_pk_secret_name: "L1_SEPOLIA_FUNDED_PRIVATE_KEY" | ||
l2_pk_secret_name: "NETWORK5_PRIVATE_KEY" | ||
bridge_addr: "0xb566BE17B22404BD46F389030ec5592F8ffAde12" | ||
|
||
steps: | ||
- name: Clone bridge repository | ||
run: git clone --recurse-submodules -j8 https://github.com/0xPolygonHermez/zkevm-bridge-service.git -b feature/test_bridge_messages_real_netowrk bridge | ||
|
||
- name: Build docker image | ||
run: | | ||
cd bridge | ||
make build-docker-e2e-real_network | ||
- name: Run test ERC20 Bridge | ||
run: | | ||
#!/bin/bash | ||
cd bridge | ||
mkdir tmp | ||
cat <<EOF > ./tmp/test.toml | ||
TestAddrPrivate= "${{ secrets[matrix.l1_pk_secret_name] }}" | ||
TestL1AddrPrivate="${{ secrets[matrix.l1_pk_secret_name] }}" | ||
TestL2AddrPrivate="${{ secrets[matrix.l1_pk_secret_name] }}" | ||
[ConnectionConfig] | ||
L1NodeURL="${{ matrix.l1_ep }}" | ||
L2NodeURL="${{ matrix.l2_ep }}" | ||
BridgeURL="${{ matrix.bridge_ep }}" | ||
L1BridgeAddr="${{ matrix.bridge_addr }}" | ||
L2BridgeAddr="${{ matrix.bridge_addr }}" | ||
EOF | ||
docker run --volume "./tmp/:/config/" --env BRIDGE_TEST_CONFIG_FILE=/config/test.toml bridge-e2e-realnetwork-msg | ||
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
jobs: | ||
compare-blocks: | ||
runs-on: ubuntu-latest | ||
|
||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
nodes: | ||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Nightly - RPC Batch Compare | ||
|
||
on: | ||
schedule: | ||
- cron: '0 23 * * *' | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
run-rpc-batch-compare: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
include: | ||
- name: bali | ||
legacy: "https://rpc.zkevm-internal.com" | ||
erigon: "https://rpc.internal.zkevm-rpc.com" | ||
- name: integration5 | ||
legacy: "http://34.175.214.161:8505" | ||
erigon: "http://34.175.214.161:8500" | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Run RPC Batch Compare | ||
run: go run ./zk/debug_tools/rpc-batch-compare -erigon="${{ matrix.erigon }}" -legacy="${{ matrix.legacy }}" -skip=100 -offset=1 |
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
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
Oops, something went wrong.