From 246acbaba40a72d74c0ea2a5f5e73945ea230348 Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Tue, 6 Aug 2024 10:24:40 -0300 Subject: [PATCH] ci: add verkle-genesis filling and consumption Signed-off-by: Ignacio Hagopian --- .github/workflows/spectests-genesis.yml | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/spectests-genesis.yml diff --git a/.github/workflows/spectests-genesis.yml b/.github/workflows/spectests-genesis.yml new file mode 100644 index 0000000000000..9d4cb6ace2a3c --- /dev/null +++ b/.github/workflows/spectests-genesis.yml @@ -0,0 +1,37 @@ +name: Execution spec tests + +on: + push: + branches: [master] + pull_request: + branches: [master, kaustinen-with-shapella] + workflow_dispatch: + +jobs: + spectests: + runs-on: self-hosted + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + # python-version: 'pypy3.10' + cache: "" + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.22.4 + - name: Fill tests + run: | + export PATH=$PATH:/home/devops/.cargo/bin + go build -v ./cmd/evm + git clone https://github.com/jsign/execution-spec-tests -b jsign-verkle-rebased-mainnet + cd execution-spec-tests + python3 -m venv venv + . ./venv/bin/activate + pip install -e ".[docs,lint,test]" + + fill --fork Verkle -n 4 --evm-dump-dir=../tmp -v -m blockchain_test --evm-bin=../evm -k eip6800_genesis + - name: Consume tests + run: find ./tmp -type f | xargs ./evm blocktest