Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devnet] Mainnet fork shouldn't need to always redeploy #7531

Open
Tracked by #6512
spypsy opened this issue Jul 19, 2024 · 0 comments
Open
Tracked by #6512

[devnet] Mainnet fork shouldn't need to always redeploy #7531

spypsy opened this issue Jul 19, 2024 · 0 comments

Comments

@spypsy
Copy link
Member

spypsy commented Jul 19, 2024

While testing CI by pushing on devnet it seems sometimes deploying contracts failed if the mainnet fork hadn't also re-deployed.
This should really be the case since we deploy new L1 contracts before re-deploying nodes, therefore having a clean slate.
The error was DB has no contract with address 0x05425591680496cbc66f87c6e2a7669f253c205e4487e2046e72a6d8a74aa73b when trying to run aztec bootstrap

PhilWindle pushed a commit that referenced this issue Jul 22, 2024
Fixes #7277 
Fixes #7477 

This PR adds a bootstrapping job to the automatic devnet deployments
which:
- Creates an account which is used to:
- Deploy canonical contracts `AuthRegistry`, `KeyRegistry` & `GasToken`
(soon to be fee juice)
- Deploy 2 contracts, `TokenContract` (named `DEV`) and an `FPCContract`
for DEV.
- Updates 2 S3 buckets with the addresses of the deployed contracts (L1
& L2)

Other changes:
- L1 contracts now re-deploy by default.  #7530 
- Mainnet fork also deploys by default as I ran into some issues #7531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant