Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nightly bridge erc20 test #613

Merged
merged 7 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/nightly-bridge-erc20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,19 @@ jobs:

steps:
- name: Clone bridge repository
uses: actions/checkout@v3
with:
repository: [email protected]:0xPolygonHermez/zkevm-bridge-service.git
ref: feature/cdk263-test_bridge_real_network
token: ${{ secrets.GITHUB_TOKEN }}

run: git clone --recurse-submodules -j8 https://github.com/0xPolygonHermez/zkevm-bridge-service.git -b develop bridge

- name: Build docker image
run: |
cd bridge
make build-docker-e2e-real_network

- name: Run test ERC20 Bridge
run: |
#!/bin/bash
mkdir config
cat <<EOF > ./tmp_profiles.json
cd bridge
mkdir tmp
cat <<EOF > ./tmp/test.toml
TestAddrPrivate= "${{ secrets[matrix.l1_pk_secret_name] }}"
[ConnectionConfig]
L1NodeURL="${{ matrix.l1_ep }}"
Expand All @@ -44,5 +42,5 @@ jobs:
L1BridgeAddr="${{ matrix.bridge_addr }}"
L2BridgeAddr="${{ matrix.bridge_addr }}"
EOF
docker run --volume "./config/:/config/" --env BRIDGE_TEST_CONFIG_FILE=/config/test.toml bridge-e2e-realnetwork-erc20
docker run --volume "./tmp/:/config/" --env BRIDGE_TEST_CONFIG_FILE=/config/test.toml bridge-e2e-realnetwork-erc20

Loading