Open twt-- opened 4 weeks ago
Manually running deployInitialTestAccounts()
after the sandbox loads fixes this for me, which is weird because it looks like that is being called already as part of the sandbox startup process.
Thanks for reporting @twt-- . This seems to be a flaky bug. I just tried with version 0.60 and its working as expected. We are looking into this.
I just tried with version 0.60 and its working as expected.
I just tried on 0.60.0 as well and still having the same issue -- still need to manually run deployInitialTestAccounts()
to have usable accounts
The tests in aztec-starter are working as expected and they use this function. Does anything stand out to you as being done differently?
It's not obvious to me what I'm doing different, but here's a repo with a small example program showing the issue - https://github.com/ClarifiedLabs/aztec-issue-9384
Figured out that this seems to be an arm issue. Not seeing this in x86_64, but I do run into this on aarch64
In 0.59.0, the account addresses from
getInitialTestAccountsWallets()
does not match the addresses in the sandbox. The secret keys match, though.I ran into this from an error when registering/deploying contracts using the wallet from
getInitialTestAccountsWallets()
:The address
0x225c2f74ec7d968dd551c4e7715d20fd582df2c8550c931a997a7ae8c2962b1b
that's not in the DB is what thegetInitialTestAccountsWallets()
thinks the account address should be, but the sandbox PXE has a different address for it:Using
@aztec/accounts@0.59.0
:And from my sandbox setup (set to 0.59.0 with:
VERSION=0.59.0 aztec-up
)