Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
112 additions
and
90 deletions.
There are no files selected for viewing
34 changes: 12 additions & 22 deletions
34
core/server/api_container/server/startosis_engine/plan.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,17 @@ | ||
packageId: github.com/kurtosis-tech/plan-yaml-prac | ||
services: | ||
- uuid: "1" | ||
name: db | ||
image: | ||
name: postgres:alpine | ||
envVars: | ||
- key: POSTGRES_USER | ||
value: tedi | ||
- key: POSTGRES_PASSWORD | ||
value: tedi | ||
- key: POSTGRES_DB | ||
value: tedi | ||
- uuid: "2" | ||
name: blob-spammer | ||
name: database | ||
image: | ||
name: ethpandaops/tx-fuzz:master | ||
name: postgres:latest | ||
envVars: | ||
- key: VAR_1 | ||
value: '{{ kurtosis.1.output }}' | ||
- key: VAR_2 | ||
value: '{{ kurtosis.1.code }}' | ||
tasks: | ||
- uuid: "1" | ||
taskType: sh | ||
command: | ||
- apk update && apk add curl jq && current_epoch=$(curl -s http://{{ kurtosis.1.ip_address | ||
}}:5/eth/v2/beacon/blocks/head | jq -r ".version") && echo $current_epoch && while | ||
[ $current_epoch != "deneb" ]; do echo "waiting for deneb, current epoch is $current_epoch"; | ||
current_epoch=$(curl -s http://{{ kurtosis.1.ip_address }}:5/eth/v2/beacon/blocks/head | ||
| jq -r ".version"); sleep 1; done && echo "sleep is over, starting to send blob | ||
transactions" && /tx-fuzz.bin blobs --rpc={{ kurtosis.1.ip_address }} --sk=["0x12"] | ||
entrypoint: | ||
- /bin/sh | ||
- -c | ||
- echo some stuff | ||
image: badouralix/curl-jq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters