Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use the third address instead of coinbase for tx-fuzz #185

Merged
merged 5 commits into from
Sep 19, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/transaction_spammer/transaction_spammer.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def get_config(prefunded_addresses, el_client_context):
cmd = [
"spam",
"--rpc=http://{0}:{1}".format(el_client_context.ip_addr, el_client_context.rpc_port_num),
"--sk={0}".format(prefunded_addresses[0].private_key),
# using the last address instead of the coinbase address
h4ck3rk3y marked this conversation as resolved.
Show resolved Hide resolved
"--sk={0}".format(prefunded_addresses[-1].private_key),
]
)