Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ensure-funded-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
- staging-ignition
- testnet
- devnet
- tps-scenario
low_watermark:
description: 'Minimum ETH balance'
required: false
Expand Down Expand Up @@ -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 || true
{
"channel": "#alerts-${{ inputs.environment }}",
"channel": "$ALERT_CHANNEL",
"text": "Ensure Funded Environment workflow FAILED for *${{ inputs.environment }}*: <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>"
}
EOF
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ensure-funded-environments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- staging-public
- staging-ignition
- next-net
- tps-scenario
- testnet
- devnet
- devnet-next
Expand Down
2 changes: 1 addition & 1 deletion spartan/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
32 changes: 21 additions & 11 deletions spartan/environments/tps-scenario.env
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
Loading