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

fix: L1 deployment on reth #12060

Merged
merged 3 commits into from
Feb 18, 2025
Merged

fix: L1 deployment on reth #12060

merged 3 commits into from
Feb 18, 2025

Conversation

spalladino
Copy link
Collaborator

Fixes deployment of L1 contracts with salt on reth. The deployment was failing because reth fails to estimate gas when deploying a contract that relies on external libraries deployed in an unmined tx. This PR makes the deployment of the contract to wait for dependent libraries to be deployed.

Unfortunately I didn't manage to get eth-devnet into unit tests, but added env vars to configure the deploy-l1-contracts test to try it locally.

Fixes #11576

@@ -17,6 +17,7 @@ services:
- "${PWD}/out/jwt-secret.hex:/genesis/jwt-secret.hex"
environment:
- HTTP_PORT=8545
- WS_PORT=8546
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run-locally was failing without this since #11922

@@ -3,4 +3,4 @@
REPO_ROOT=$(git rev-parse --show-toplevel)

${REPO_ROOT}/spartan/aztec-network/eth-devnet/create.sh
(cd ${REPO_ROOT}/spartan/aztec-network/eth-devnet && docker compose build && docker compose up)
(cd ${REPO_ROOT}/spartan/aztec-network/eth-devnet && docker compose down -v && docker compose build && docker compose up)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The down -v ensures volumes are cleaned up. Otherwise the containers will use the volumes with the config from an old create.sh run and fail to start.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding that

@spalladino spalladino force-pushed the palla/fix-l1-deploy-on-reth branch from b68725a to 61a160b Compare February 18, 2025 13:30
@spalladino spalladino enabled auto-merge (squash) February 18, 2025 13:48
@spalladino spalladino force-pushed the palla/fix-l1-deploy-on-reth branch from 4040dcf to 66f41f3 Compare February 18, 2025 14:54
@spalladino spalladino force-pushed the palla/fix-l1-deploy-on-reth branch from 66f41f3 to 5c25f61 Compare February 18, 2025 16:42
@spalladino spalladino merged commit f61fe9d into master Feb 18, 2025
12 checks passed
@spalladino spalladino deleted the palla/fix-l1-deploy-on-reth branch February 18, 2025 17:02
TomAFrench added a commit that referenced this pull request Feb 19, 2025
* master: (245 commits)
  chore: Fix unbound CI variable on release image bootstrap (#12095)
  fix: dry run on grind (#12088)
  fix(spartan): eth-execution logging (#12094)
  fix: aws_handle_evict recovery & termination (#12086)
  chore: Use native acvm when available on orchestrator tests (#11560)
  refactor: function macros cleanup (#12066)
  refactor: remove `addNullifiedNote` from pxe (#11822)
  fix: `#[aztec]` macro warnings (#12038)
  refactor!: Notes implementing `Packable<N>` (#12004)
  chore(ops): add gcloud cli into devbox base image (#12082)
  fix: hotfix grinding
  fix: L1 deployment on reth (#12060)
  fix: Add missing bootstrap fast aliases (#12078)
  fix: hash_str caching (#12074)
  fix: Naive attempt to fix nightly deployments (#12079)
  fix: kind smoke (#12084)
  refactor!: nuking `NoteHeader` (#11942)
  fix: inject dockerhub creds (#12072)
  feat(docs): Note discovery concepts page (#11760)
  chore: cleanup libp2p logger (#12058)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Deploy L1 contracts step fails on deployments to eth-devnet
3 participants