Compare commits
8 Commits
main
...
roysc/tx-s
Author | SHA1 | Date | |
---|---|---|---|
4ee4959fd6 | |||
9540724d82 | |||
5ad7ebb016 | |||
ebf19337eb | |||
7bd725c69f | |||
40a5fa23cd | |||
88cdd48588 | |||
67153e0143 |
@ -27,7 +27,7 @@ services:
|
||||
CERC_ALLOW_UNPROTECTED_TXS: ${CERC_ALLOW_UNPROTECTED_TXS:-false}
|
||||
env_file:
|
||||
- ../config/fixturenet-eth/fixturenet-eth.env
|
||||
- ../config/fixturenet-eth/statediff.env
|
||||
- ../config/fixturenet-plugeth/statediff.env
|
||||
image: cerc/fixturenet-plugeth-plugeth:local
|
||||
volumes:
|
||||
- fixturenet_plugeth_geth_1_data:/root/ethdata
|
||||
|
16
stack-orchestrator/compose/docker-compose-tx-spammer.yml
Normal file
16
stack-orchestrator/compose/docker-compose-tx-spammer.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
tx-spammer:
|
||||
restart: always
|
||||
image: cerc/tx-spammer:local
|
||||
env_file:
|
||||
- ../config/tx-spammer/tx-spammer.env
|
||||
environment:
|
||||
ACCOUNTS_CSV_URL: http://fixturenet-eth-bootnode-geth:9898/accounts.csv
|
||||
ETH_HTTP_PATH: http://fixturenet-eth-geth-1:8545
|
||||
LOG_LEVEL: debug
|
||||
SPAMMER_COMMAND: autoSend
|
||||
depends_on:
|
||||
fixturenet-eth-bootnode-geth:
|
||||
condition: service_started
|
||||
fixturenet-eth-geth-1:
|
||||
condition: service_healthy
|
@ -14,5 +14,5 @@ ENR_URL="http://fixturenet-eth-bootnode-lighthouse:3000/bootnode/enr.dat"
|
||||
CERC_GETH_VMODULE="rpc/*=5"
|
||||
CERC_GETH_VERBOSITY=${CERC_GETH_VERBOSITY:-3}
|
||||
|
||||
# Used by Lighthouse
|
||||
SECONDS_PER_ETH1_BLOCK=${SECONDS_PER_ETH1_BLOCK:-3}
|
||||
# --debug-level
|
||||
DEBUG_LEVEL=${LIGHTHOUSE_DEBUG_LEVEL:-info}
|
||||
|
2
stack-orchestrator/config/tx-spammer/tx-spammer.env
Normal file
2
stack-orchestrator/config/tx-spammer/tx-spammer.env
Normal file
@ -0,0 +1,2 @@
|
||||
ETH_CALL_FREQ=1000
|
||||
ETH_SEND_FREQ=1000
|
@ -44,6 +44,11 @@ lcli \
|
||||
--interop-genesis-state \
|
||||
--force
|
||||
|
||||
# Patch the spec with settings not supported by lcli
|
||||
sed -i "/^SHARD_COMMITTEE_PERIOD:/s/:.*/: $SHARD_COMMITTEE_PERIOD/" $TESTNET_DIR/config.yaml
|
||||
sed -i "/^MIN_VALIDATOR_WITHDRAWABILITY_DELAY:/s/:.*/: $MIN_VALIDATOR_WITHDRAWABILITY_DELAY/" $TESTNET_DIR/config.yaml
|
||||
sed -i "/^MAX_SEED_LOOKAHEAD:/s/:.*/: $MAX_SEED_LOOKAHEAD/" $TESTNET_DIR/config.yaml
|
||||
|
||||
echo Specification and genesis.ssz generated at $TESTNET_DIR.
|
||||
echo "Generating $VALIDATOR_COUNT validators concurrently... (this may take a while)"
|
||||
|
||||
|
@ -38,6 +38,13 @@ SECONDS_PER_SLOT=${SECONDS_PER_SLOT:-3}
|
||||
# Seconds per Eth1 block
|
||||
SECONDS_PER_ETH1_BLOCK=${SECONDS_PER_ETH1_BLOCK:-1}
|
||||
|
||||
# Min epochs between validator activation and exit
|
||||
SHARD_COMMITTEE_PERIOD=2
|
||||
# Min epochs between validator exit and withdrawal
|
||||
MIN_VALIDATOR_WITHDRAWABILITY_DELAY=1
|
||||
# Delay for validator activation/exit
|
||||
MAX_SEED_LOOKAHEAD=1
|
||||
|
||||
# Command line arguments for validator client
|
||||
VC_ARGS=${VC_ARGS:-""}
|
||||
|
||||
@ -54,5 +61,4 @@ ETH1_DEPOSIT_CONTRACT_ADDRESS=${ETH1_DEPOSIT_CONTRACT_ADDRESS:-`cat $ETH1_CONFIG
|
||||
ETH1_DEPOSIT_CONTRACT_BLOCK=${ETH1_DEPOSIT_CONTRACT_BLOCK:-0x0}
|
||||
SUGGESTED_FEE_RECIPIENT=`cat ../build/el/accounts.csv | head -1 | cut -d',' -f2`
|
||||
|
||||
# --debug-level
|
||||
DEBUG_LEVEL=${LIGHTHOUSE_DEBUG_LEVEL:-info}
|
||||
VALIDATOR_MNEMONIC="viable ketchup woman library opinion copy rhythm attend rose knock penalty practice photo bundle budget dentist enter round bind holiday useful arch danger lobster"
|
||||
|
16
stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml
Normal file
16
stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: "1.1"
|
||||
name: fixturenet-eth-spam
|
||||
description: "Ethereum Fixturenet with tx spam"
|
||||
repos:
|
||||
- git.vdb.to/cerc-io/lighthouse
|
||||
- git.vdb.to/cerc-io/tx-spammer
|
||||
containers:
|
||||
- cerc/lighthouse
|
||||
- cerc/lighthouse-cli
|
||||
- cerc/fixturenet-eth-genesis-postmerge
|
||||
- cerc/fixturenet-eth-geth
|
||||
- cerc/fixturenet-eth-lighthouse
|
||||
- cerc/tx-spammer
|
||||
pods:
|
||||
- fixturenet-eth
|
||||
- tx-spammer
|
@ -2,7 +2,7 @@ version: "1.1"
|
||||
name: fixturenet-eth
|
||||
description: "Ethereum Fixturenet"
|
||||
repos:
|
||||
- git.vdb.to/cerc-io/lighthouse
|
||||
- git.vdb.to/cerc-io/lighthouse@testnet-genesis-eth1-withdrawal-creds
|
||||
containers:
|
||||
- cerc/lighthouse
|
||||
- cerc/lighthouse-cli
|
||||
|
@ -4,7 +4,7 @@ description: "Plugeth Ethereum Indexing Fixturenet"
|
||||
repos:
|
||||
- git.vdb.to/cerc-io/plugeth@statediff
|
||||
- git.vdb.to/cerc-io/plugeth-statediff
|
||||
- git.vdb.to/cerc-io/lighthouse
|
||||
- git.vdb.to/cerc-io/lighthouse@testnet-genesis-eth1-withdrawal-creds
|
||||
- git.vdb.to/cerc-io/ipld-eth-db
|
||||
containers:
|
||||
- cerc/plugeth-statediff
|
||||
|
Loading…
Reference in New Issue
Block a user