Skip to content

Commit

Permalink
fix: ignition-testnet values & bot count (#12433)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Mar 4, 2025
1 parent 13d3c0c commit 24f54f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spartan/aztec-network/values/ignition-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ telemetry:
aztec:
realProofs: true
validatorKeyIndexStart: 0
proverKeyIndexStart: 3
proverKeyIndexStart: 1
testAccounts: true
bootstrapENRs: "enr:-LO4QDwlKJN0BqMc4hYPsI-MQoR1O7qLVr4TK6DhqGsZT_pPTmg3gS-JD072rKI4vlaR0N4SdeH2gCD09oh-zMVT3JkEhWF6dGVjqDAwLTExMTU1MTExLTAwMDAwMDAwLTAtMmM4ZmM0NjMtMjM3YWFkY2WCaWSCdjSCaXCEI-XzqolzZWNwMjU2azGhA0da3IZGbY1tLdqXgdQKG-SW-Z4D6dvXJBeoXn8EZsCVg3VkcIKd0A,enr:-LO4QPJR493G_BQG1UU0_h-g0TEBnZEJ-zgWYH3YctVAn3GzfM9dWVIO7_TSETXYLy-h34bF6sSoSfpP5O44qsZnp00EhWF6dGVjqDAwLTExMTU1MTExLTAwMDAwMDAwLTAtMmM4ZmM0NjMtMjM3YWFkY2WCaWSCdjSCaXCEIlle64lzZWNwMjU2azGhAwuSF_VE1cRfSc3MvtDZvvaTl2Qo_dJK-Qp7TcnhYWBtg3VkcIKd0A,enr:-LO4QKq488wXvw6vAHToGWJYkxMmKsjQCsFjPs5Pt_MrawlnZ7G-xIfwhkXR1afddf8lFj_RNVZdBfGzHHR262pXNhMEhWF6dGVjqDAwLTExMTU1MTExLTAwMDAwMDAwLTAtMmM4ZmM0NjMtMjM3YWFkY2WCaWSCdjSCaXCEI8VFSYlzZWNwMjU2azGhA2xqOyFaHAARgLAi3dORuPmFHbxgoMDWBZJnnbiatW8jg3VkcIKd0A"
contracts:
Expand Down
10 changes: 9 additions & 1 deletion spartan/scripts/prepare_sepolia_accounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ value_yamls="../aztec-network/values/$values_file ../aztec-network/values.yaml"

num_validators=$(./read_value.sh "validator.replicas" $value_yamls)
num_provers=$(./read_value.sh "proverNode.replicas" $value_yamls)
num_bots=$(./read_value.sh "bot.replicas" $value_yamls)

# bots might be disabled
bot_enabled=$(./read_value.sh "bot.enabled" $value_yamls)
if [ "$bot_enabled" = "true" ]; then
num_bots=$(./read_value.sh "bot.replicas" $value_yamls)
else
num_bots=0
fi

num_accounts=$((num_validators + num_provers + num_bots))

# Install bc if needed
Expand Down

0 comments on commit 24f54f9

Please sign in to comment.