Skip to content

Commit

Permalink
use child wallet when executing spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jan 8, 2025
1 parent 03d423f commit 64fcb9c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion playbooks/dev/execution-spec-tests-execute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ config:
extraFlags: ""
solcVersion: "0.8.24"
tasks:
- name: generate_child_wallet
id: testwallet
title: "Generate main wallet for tests"
config:
randomSeed: true
configVars:
privateKey: "seedPrivateKey"
prefundMinBalance: "seedAmount"

- name: run_shell
title: "Execute tests: ${gitRepo}@${gitBranch} [${testPath}]"
id: execute
Expand All @@ -24,7 +33,7 @@ tasks:
TEST_PATH: testPath
CHAIN_ID: chainID
RPC_ENDPOINT: rpcEndpoint
PRIVATE_KEY: seedPrivateKey
PRIVATE_KEY: tasks.testwallet.outputs.childWallet.privkey
SEED_AMOUNT: seedAmount
EXTRA_FLAGS: extraFlags
SOLC_VERSION: "solcVersion"
Expand Down

0 comments on commit 64fcb9c

Please sign in to comment.