Skip to content

Commit

Permalink
chore: move the validator key index start to 2000 (#12354)
Browse files Browse the repository at this point in the history
No more "address reserved".

Services in tests were using account index 0, which is what the
validators also use.
  • Loading branch information
just-mitch authored Feb 27, 2025
1 parent 2c1fe48 commit 5cde0a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 8 additions & 7 deletions spartan/aztec-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,20 @@ aztec:
epochDuration: 32 # how many L2 slots in an epoch
proofSubmissionWindow: 64 # in L2 slots, from the start of the epoch to be proven
realProofs: false

l1Salt: "42" # leave empty for random salt
testAccounts: true
l1DeploymentMnemonic: "test test test test test test test test test test test junk" # the mnemonic used when deploying contracts

# The derivation path of the calcualted private keys
# Starting from this index, the number of keys is equal to the number of replicas for the given service
validatorKeyIndexStart: 0
proverKeyIndexStart: 1000

# Set the "extraAccounts" to start at 0 so that just using the default mnemonic won't clash with validator, prover, and bot accounts
extraAccountsStartIndex: 0
## The number of extra accounts to prefund
extraAccountsStartIndex: 2000
extraAccounts: 10

proverKeyIndexStart: 1000
validatorKeyIndexStart: 2000
botKeyIndexStart: 3000
l1Salt: "42" # leave empty for random salt
testAccounts: true

bootNode:
peerIdPrivateKey: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ describe('spartan_upgrade_rollup_version', () => {
ETHEREUM_HOSTS,
config.L1_ACCOUNT_MNEMONIC,
chain.chainInfo,
// TODO(#12301): magic number
2000,
);
debugLogger.info(`l1WalletClient: ${l1WalletClient.account.address}`);
const initialTestAccounts = await getInitialTestAccounts();
Expand Down

0 comments on commit 5cde0a1

Please sign in to comment.