diff --git a/src/transaction_spammer/transaction_spammer.star b/src/transaction_spammer/transaction_spammer.star index 14572664a..49f866b79 100644 --- a/src/transaction_spammer/transaction_spammer.star +++ b/src/transaction_spammer/transaction_spammer.star @@ -1,4 +1,4 @@ -IMAGE_NAME = "kurtosistech/tx-fuzz:0.2.0" +IMAGE_NAME = "ethpandaops/tx-fuzz:latest" SERVICE_NAME = "transaction-spammer" def launch_transaction_spammer(plan, prefunded_addresses, el_client_context): @@ -10,19 +10,12 @@ def get_config(prefunded_addresses, el_client_context): private_keys_strs = [] address_strs = [] - for prefunded_address in prefunded_addresses: - private_keys_strs.append(prefunded_address.private_key) - address_strs.append(prefunded_address.address) - - comma_separated_private_keys = ",".join(private_keys_strs) - comma_separated_addresses = ",".join(address_strs) return ServiceConfig( image = IMAGE_NAME, cmd = [ - "http://{0}:{1}".format(el_client_context.ip_addr, el_client_context.rpc_port_num), "spam", - comma_separated_private_keys, - comma_separated_addresses + "--rpc=http://{0}:{1}".format(el_client_context.ip_addr, el_client_context.rpc_port_num), + "--sk={0}".format(prefunded_addresses[0].private_key), ] )