Commit 709b4adc authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: tx-spammer extra args (#394)

parent 8959fc80
......@@ -20,12 +20,17 @@ def get_config(prefunded_addresses, el_uri, tx_spammer_extra_args, electra_fork_
tx_spammer_image = "ethpandaops/tx-fuzz:kaustinen-281adbc"
else:
tx_spammer_image = "ethpandaops/tx-fuzz:master"
return ServiceConfig(
image=tx_spammer_image,
cmd=[
cmd = [
"spam",
"--rpc={}".format(el_uri),
"--sk={0}".format(prefunded_addresses[3].private_key),
"{0}".format(" ".join(tx_spammer_extra_args)),
],
]
if len(tx_spammer_extra_args) > 0:
cmd.extend([param for param in tx_spammer_extra_args])
return ServiceConfig(
image=tx_spammer_image,
cmd=cmd,
)
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