Skip to content

Commit 4ed411a

Browse files
committed
Adopt some parameters from blobs scenario.
1 parent cbf3968 commit 4ed411a

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

scripts/start_spamoor.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ source "${SCRIPTS_DIR}/spamoor_binaries.sh"
1818
# `execution_genesis.json.template`.
1919
SPAMOOR_PRIVATE_KEY="65975debdc6b09ef5d40871d371861e98cbf1582ccf3f5466ed8ca8999f09388"
2020
# Default value.
21-
SPAMOOR_SECONDS_PER_SLOT="12"
22-
SPAMOOR_TRANSACTIONS_COUNT="10000"
21+
SPAMOOR_SECONDS_PER_SLOT="12" # seconds
22+
SPAMOOR_MAX_WALLETS="200" #
23+
SPAMOOR_REFILL_AMOUNT="5000" # ETH
24+
SPAMOOR_REFILL_BALANCE="2" # ETH
25+
SPAMOOR_REFILL_INTERVAL="600" # seconds
26+
SPAMOOR_SIDECARS_PER_TRANSACTION="5" #
2327

2428
log "Using ${SPAMOOR_BINARY}"
2529

@@ -54,7 +58,11 @@ ${SPAMOOR_BINARY} \
5458
--privkey "${SPAMOOR_PRIVATE_KEY}" \
5559
${SPAMOOR_RPC_ENDPOINTS} \
5660
--seconds-per-slot ${SPAMOOR_SECONDS_PER_SLOT} \
57-
--count ${SPAMOOR_TRANSACTIONS_COUNT} \
61+
--sidecars ${SPAMOOR_SIDECARS_PER_TRANSACTION} \
62+
--max-wallets ${SPAMOOR_MAX_WALLETS} \
63+
--refill-amount ${SPAMOOR_REFILL_AMOUNT} \
64+
--refill-balance ${SPAMOOR_REFILL_BALANCE} \
65+
--refill-interval ${SPAMOOR_REFILL_INTERVAL} \
5866
--log-txs --verbose --trace \
5967
&> "${DATA_DIR}/logs/spamoor.txt" &
6068

0 commit comments

Comments
 (0)