From 9540724d82e371d356ead695f5c25a4e77f8c141 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 2 Jul 2024 21:18:33 +0800 Subject: [PATCH] Add fixturenet-eth-spam stack --- .../compose/docker-compose-tx-spammer.yml | 16 ++++++++++++++++ .../config/tx-spammer/tx-spammer.env | 2 ++ .../stacks/fixturenet-eth-spam/stack.yml | 15 +++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 stack-orchestrator/compose/docker-compose-tx-spammer.yml create mode 100644 stack-orchestrator/config/tx-spammer/tx-spammer.env create mode 100644 stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml diff --git a/stack-orchestrator/compose/docker-compose-tx-spammer.yml b/stack-orchestrator/compose/docker-compose-tx-spammer.yml new file mode 100644 index 0000000..c2836a2 --- /dev/null +++ b/stack-orchestrator/compose/docker-compose-tx-spammer.yml @@ -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 diff --git a/stack-orchestrator/config/tx-spammer/tx-spammer.env b/stack-orchestrator/config/tx-spammer/tx-spammer.env new file mode 100644 index 0000000..3553426 --- /dev/null +++ b/stack-orchestrator/config/tx-spammer/tx-spammer.env @@ -0,0 +1,2 @@ +ETH_CALL_FREQ=1000 +ETH_SEND_FREQ=1000 diff --git a/stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml b/stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml new file mode 100644 index 0000000..ae028e5 --- /dev/null +++ b/stack-orchestrator/stacks/fixturenet-eth-spam/stack.yml @@ -0,0 +1,15 @@ +version: "1.1" +name: fixturenet-eth-spam +description: "Ethereum Fixturenet with tx spam" +repos: + - git.vdb.to/cerc-io/lighthouse +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