Commit f124bbf9 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: remove epoch checker for goomy (#754)

parent 1be7efa0
...@@ -52,29 +52,14 @@ def get_config( ...@@ -52,29 +52,14 @@ def get_config(
goomy_args = "combined -b 2 -t 2 --max-pending 3" goomy_args = "combined -b 2 -t 2 --max-pending 3"
goomy_cli_args.append(goomy_args) goomy_cli_args.append(goomy_args)
cmd = "./blob-spammer -p {0} {1}".format(
prefunded_addresses[4].private_key, " ".join(goomy_cli_args)
)
return ServiceConfig( return ServiceConfig(
image=IMAGE_NAME, image=IMAGE_NAME,
entrypoint=ENTRYPOINT_ARGS, entrypoint=ENTRYPOINT_ARGS,
cmd=[ cmd=[cmd],
" && ".join(
[
"apt-get update",
"apt-get install -y curl jq",
'current_epoch=$(curl -s {0}/eth/v2/beacon/blocks/head | jq -r ".version")'.format(
cl_context.beacon_http_url,
),
'while [ $current_epoch != "deneb" ]; do echo "waiting for deneb, current epoch is $current_epoch"; current_epoch=$(curl -s {0}/eth/v2/beacon/blocks/head | jq -r ".version"); sleep {1}; done'.format(
cl_context.beacon_http_url,
seconds_per_slot,
),
'echo "sleep is over, starting to send blob transactions"',
"./blob-spammer -p {0} {1}".format(
prefunded_addresses[4].private_key,
" ".join(goomy_cli_args),
),
]
)
],
min_cpu=MIN_CPU, min_cpu=MIN_CPU,
max_cpu=MAX_CPU, max_cpu=MAX_CPU,
min_memory=MIN_MEMORY, min_memory=MIN_MEMORY,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment