diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index 24ed0cc7789b..269413742cf3 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -219,6 +219,7 @@ ethereum: replicas: 1 chainId: 1337 blockTime: 12 + extraAccounts: 10 # 1 billion gas limit # helps ensure we can deploy public contracts gasLimit: "1000000000" diff --git a/yarn-project/end-to-end/scripts/network_test.sh b/yarn-project/end-to-end/scripts/network_test.sh index b34469e4cdbf..ca74a0df93df 100755 --- a/yarn-project/end-to-end/scripts/network_test.sh +++ b/yarn-project/end-to-end/scripts/network_test.sh @@ -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"