Skip to content

Unwind test

Unwind test #3

Workflow file for this run

name: Unwinds tests
on:
pull_request:
branches:
- zkevm
workflow_dispatch:
jobs:
fixing-unwinds-tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout cdk-erigon
uses: actions/checkout@v4
with:
path: cdk-erigon
- uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Build
run: |
cd ./cdk-erigon
make cdk-erigon
- name: Update cdk-erigon-lib
run: |
erigonPath=$(pwd)
cd "$HOME/go/pkg/mod/github.com/gateway-fm"
cd $(ls ./ | grep cdk-erigon-lib | tail -1)
cd ./kv
chmod +x "$erigonPath/cdk-erigon/zk/tests/unwinds/modify-cdk-erigon-lib.sh"
"$erigonPath/cdk-erigon/zk/tests/unwinds/modify-cdk-erigon-lib.sh"
- name: Build2
run: |
cd ./cdk-erigon
make cdk-erigon
- name: Prepare configs
run: |
cd ./cdk-erigon
cp ./zk/tests/unwinds/config/dynamic-integration8.yaml ./
cp ./zk/tests/unwinds/config/dynamic-integration-allocs.json ./
cp ./zk/tests/unwinds/config/dynamic-integration-chainspec.json ./
cp ./zk/tests/unwinds/config/dynamic-integration-conf.json ./
- name: Prepare data stream
run: |
cd ./cdk-erigon/zk/tests/unwinds/datastream
tar -xzf ./datastream-net8-upto-11318-101.zip ./
- name: Run tests
run: |
cd ./cdk-erigon
chmod +x ./zk/tests/unwinds/unwind.sh
./zk/tests/unwinds/unwind.sh