Skip to content

Commit

Permalink
chore: spam with second account
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-llimos committed Feb 25, 2024
1 parent 1e13012 commit 67c3371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/spam_txs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

AUTONOMY_SEED = os.environ["SEED"]
cf_accs = accounts.from_mnemonic(AUTONOMY_SEED, count=10)
DEPLOYER_ACCOUNT_INDEX = int(os.environ.get("DEPLOYER_ACCOUNT_INDEX") or 0)
DEPLOYER_ACCOUNT_INDEX = int(os.environ.get("DEPLOYER_ACCOUNT_INDEX") or 1)

DEPLOYER = cf_accs[DEPLOYER_ACCOUNT_INDEX]
print(f"DEPLOYER = {DEPLOYER}")
Expand All @@ -18,6 +18,8 @@
# NUM_SPAM_TXS = int(os.environ["NUM_SPAM_TXS"])
NUM_SPAM_TXS = 100

print("DEPLOYER", DEPLOYER)


def main():
for i in range(NUM_SPAM_TXS):
Expand Down

0 comments on commit 67c3371

Please sign in to comment.