Skip to content

Commit

Permalink
feat(spartan): extra acounts with cl config (#11301)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 authored Jan 21, 2025
1 parent 87b0dee commit 13fed74
Showing 1 changed file with 2 additions and 1 deletion.
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 @@ -151,14 +151,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 13fed74

Please sign in to comment.