Skip to content

Commit 727cd4b

Browse files
committed
add example on how to call exec-spec-tasks via run_external_tasks
1 parent e740f67 commit 727cd4b

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
id: pectra-execution-spec-tests
2+
name: "Run execution spec tests"
3+
timeout: 1h
4+
config:
5+
#walletPrivkey: ""
6+
tasks:
7+
- name: run_shell
8+
title: Install dependencies
9+
config:
10+
shell: bash
11+
command: |
12+
dpkg --add-architecture amd64
13+
apt-get update
14+
apt-get install -y build-essential python3 python3-pip
15+
rm /usr/lib/python3*/EXTERNALLY-MANAGED
16+
17+
- name: check_clients_are_healthy
18+
title: "Check if at least one client is ready"
19+
id: clientCheck
20+
timeout: 5m
21+
config:
22+
minClientCount: 1
23+
24+
- name: get_consensus_specs
25+
id: consensusSpecs
26+
27+
- name: run_external_tasks
28+
title: "Run execution spec tests: eip7702_set_code_tx"
29+
timeout: 30m
30+
config:
31+
testFile: https://raw.githubusercontent.com/ethpandaops/assertoor/master/playbooks/dev/execution-spec-tests-execute.yaml
32+
testConfig:
33+
gitRepo: https://github.com/ethereum/execution-spec-tests.git
34+
gitBranch: fill-execute-modes
35+
testPath: ./tests/prague/eip7702_set_code_tx/test_set_code_txs.py::test_self_sponsored_set_code
36+
seedAmount: "100000000000000000000"
37+
extraFlags: "--fork=Prague"
38+
testConfigVars:
39+
rpcEndpoint: "tasks.clientCheck.outputs.goodClients[0].elRpcUrl"
40+
chainID: "tasks.consensusSpecs.outputs.specs.DEPOSIT_CHAIN_ID"
41+
privateKey: "walletPrivkey"

0 commit comments

Comments
 (0)