Skip to content

Commit

Permalink
feat: extra accounts for cl config
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 18, 2025
1 parent 1bd60c6 commit ce26ee7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spartan/aztec-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ ethereum:
externalHost: ""
replicas: 1
chainId: 1337
blockTime: 12sec
blockTime: 12
extraAccounts: 10
# 1 billion gas limit
# helps ensure we can deploy public contracts
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/end-to-end/scripts/network_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,15 @@ function read_values_file() {
## We need to read these values and pass them into the eth devnet create.sh script
## so that it can generate the genesis.json and config.yaml file with the correct values.
function generate_eth_devnet_config() {
export NUMBER_OF_KEYS=$(read_values_file "validator.replicas")
export NUMBER_OF_KEYS=$(read_values_file "validator.replicas")
export MNEMONIC=$(read_values_file "aztec.l1DeploymentMnemonic")
export BLOCK_TIME=$(read_values_file "ethereum.blockTime")
export GAS_LIMIT=$(read_values_file "ethereum.gasLimit")
export CHAIN_ID=$(read_values_file "ethereum.chainId")
export EXTRA_ACCOUNTS=$(read_values_file "ethereum.extraAccounts")

echo "Generating eth devnet config..."
NUMBER_OF_KEYS=$((NUMBER_OF_KEYS + EXTRA_ACCOUNTS))
echo "NUMBER_OF_KEYS: $NUMBER_OF_KEYS"
echo "MNEMONIC: $MNEMONIC"
echo "BLOCK_TIME: $BLOCK_TIME"
Expand Down

0 comments on commit ce26ee7

Please sign in to comment.