diff --git a/.github/workflows/ensure-funded-environment.yml b/.github/workflows/ensure-funded-environment.yml index 2c2a0295a7ab..0d240f080c1e 100644 --- a/.github/workflows/ensure-funded-environment.yml +++ b/.github/workflows/ensure-funded-environment.yml @@ -31,6 +31,7 @@ on: - staging-ignition - testnet - devnet + - tps-scenario low_watermark: description: 'Minimum ETH balance' required: false @@ -117,10 +118,16 @@ jobs: env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} run: | + if [[ "${{ inputs.environment }}" == "tps-scenario" ]]; then + export ALERT_CHANNEL="#alerts-next-net" + else + export ALERT_CHANNEL="#alerts-${{ inputs.environment }}" + fi + if [ -n "${SLACK_BOT_TOKEN}" ]; then read -r -d '' data <" } EOF diff --git a/.github/workflows/ensure-funded-environments.yml b/.github/workflows/ensure-funded-environments.yml index 681fdeaf4c87..f25e31e1b752 100644 --- a/.github/workflows/ensure-funded-environments.yml +++ b/.github/workflows/ensure-funded-environments.yml @@ -34,6 +34,7 @@ jobs: - staging-public - staging-ignition - next-net + - tps-scenario - testnet - devnet - devnet-next diff --git a/spartan/bootstrap.sh b/spartan/bootstrap.sh index f2b059ec74c9..14e360bd6586 100755 --- a/spartan/bootstrap.sh +++ b/spartan/bootstrap.sh @@ -117,7 +117,7 @@ function network_tests { } function network_bench_cmds { - echo "$hash:TIMEOUT=7200 BENCH_OUTPUT=bench-out/n_tps.bench.json TPS_TARGET=0.5,1,2 TEST_DURATION=600 $root/yarn-project/end-to-end/scripts/run_test.sh simple n_tps.test.ts" + echo "$hash:TIMEOUT=7200 BENCH_OUTPUT=bench-out/n_tps.bench.json TPS_TARGET=0.1,0.2,0.5 TEST_DURATION=600 $root/yarn-project/end-to-end/scripts/run_test.sh simple n_tps.test.ts" } function network_bench { diff --git a/spartan/environments/tps-scenario.env b/spartan/environments/tps-scenario.env index 34027f00ee8b..a28a6eebe4e7 100644 --- a/spartan/environments/tps-scenario.env +++ b/spartan/environments/tps-scenario.env @@ -1,23 +1,33 @@ NAMESPACE=${NAMESPACE:-tps-scenario} CLUSTER=aztec-gke-private GCP_REGION=us-west1-a -DESTROY_NAMESPACE=true -DESTROY_ETH_DEVNET=true -CREATE_ETH_DEVNET=${CREATE_ETH_DEVNET:-true} + AZTEC_EPOCH_DURATION=8 AZTEC_SLOT_DURATION=72 AZTEC_PROOF_SUBMISSION_WINDOW=16 -ETHEREUM_CHAIN_ID=1337 -LABS_INFRA_MNEMONIC="test test test test test test test test test test test junk" -FUNDING_PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" -# CREATE_CHAOS_MESH=true +AZTEC_LAG_IN_EPOCHS=1 + +CREATE_ETH_DEVNET=false +L1_NETWORK=sepolia +ETHEREUM_CHAIN_ID=11155111 +ETHEREUM_RPC_URLS=REPLACE_WITH_GCP_SECRET +ETHEREUM_CONSENSUS_HOST_URLS=REPLACE_WITH_GCP_SECRET +ETHEREUM_CONSENSUS_HOST_API_KEYS=REPLACE_WITH_GCP_SECRET +ETHEREUM_CONSENSUS_HOST_API_KEY_HEADERS=REPLACE_WITH_GCP_SECRET +FUNDING_PRIVATE_KEY=REPLACE_WITH_GCP_SECRET +LABS_INFRA_MNEMONIC=REPLACE_WITH_GCP_SECRET +LABS_INFRA_MNEMONIC_NAME=sepolia-labs-tps-scenario-mnemonic +ROLLUP_DEPLOYMENT_PRIVATE_KEY=REPLACE_WITH_GCP_SECRET +OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET +VERIFY_CONTRACTS=true +ETHERSCAN_API_KEY=REPLACE_WITH_GCP_SECRET CREATE_ROLLUP_CONTRACTS=true REDEPLOY_ROLLUP_CONTRACTS=true -VERIFY_CONTRACTS=false -DESTROY_AZTEC_INFRA=true +VERIFY_CONTRACTS=true -AZTEC_LAG_IN_EPOCHS=1 +DESTROY_NAMESPACE=true +DESTROY_AZTEC_INFRA=true OTEL_COLLECTOR_ENDPOINT=REPLACE_WITH_GCP_SECRET @@ -52,7 +62,7 @@ AZTEC_SLASHING_EXECUTION_DELAY_IN_ROUNDS=0 AZTEC_SLASHING_OFFSET_IN_ROUNDS=1 AZTEC_LOCAL_EJECTION_THRESHOLD=90000000000000000000 -SEQ_MAX_TX_PER_BLOCK=80 +SEQ_MAX_TX_PER_BLOCK=15 # approx 0.2 TPS SEQ_MIN_TX_PER_BLOCK=0 # Override L1 tx utils bump percentages for scenario tests