Skip to content

Commit 64fcb9c

Browse files
committed
use child wallet when executing spec tests
1 parent 03d423f commit 64fcb9c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

playbooks/dev/execution-spec-tests-execute.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ config:
1212
extraFlags: ""
1313
solcVersion: "0.8.24"
1414
tasks:
15+
- name: generate_child_wallet
16+
id: testwallet
17+
title: "Generate main wallet for tests"
18+
config:
19+
randomSeed: true
20+
configVars:
21+
privateKey: "seedPrivateKey"
22+
prefundMinBalance: "seedAmount"
23+
1524
- name: run_shell
1625
title: "Execute tests: ${gitRepo}@${gitBranch} [${testPath}]"
1726
id: execute
@@ -24,7 +33,7 @@ tasks:
2433
TEST_PATH: testPath
2534
CHAIN_ID: chainID
2635
RPC_ENDPOINT: rpcEndpoint
27-
PRIVATE_KEY: seedPrivateKey
36+
PRIVATE_KEY: tasks.testwallet.outputs.childWallet.privkey
2837
SEED_AMOUNT: seedAmount
2938
EXTRA_FLAGS: extraFlags
3039
SOLC_VERSION: "solcVersion"

0 commit comments

Comments
 (0)