Skip to content

fix(l1): use proper docker image to spin up localnets. #4131

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

Merged
merged 1 commit into from
Aug 22, 2025
Merged

Conversation

mpaulucci
Copy link
Collaborator

Motivation
We were using the stable ethrex docker images instead of the one build locally

Description

  • Use the local image of ethrex
  • Merge many localnet makefile commands into one
  • Fix passing of el_extra_params

@Copilot Copilot AI review requested due to automatic review settings August 22, 2025 12:53
@mpaulucci mpaulucci requested a review from a team as a code owner August 22, 2025 12:53
@github-actions github-actions bot added the L1 Ethereum client label Aug 22, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes docker image configuration for local network testing by switching from stable to locally-built ethrex images and simplifies the Makefile structure. The changes ensure that local development uses the current codebase rather than a stable release and consolidate multiple localnet commands into a single configurable target.

  • Corrected docker image tag from ethrex:unstable to ethrex and fixed parameter format in network configuration
  • Consolidated multiple localnet Makefile targets into a single configurable command
  • Fixed parameter passing format for el_extra_params from space-separated to equals-separated syntax

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
fixtures/network/network_params_client_comparision.yaml Fixed parameter format for ethrex EVM configuration
Makefile Updated docker image tag and consolidated localnet commands into single configurable target

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

kurtosis run --enclave $(ENCLAVE) ethereum-package --args-file fixtures/network/network_params.yaml
docker logs -f $$(docker ps -q --filter name=snooper-engine-3-lighthouse-ethrex)

localnet-client-comparision: stop-localnet-silent build-image checkout-ethereum-package ## 🌐 Start local network
Copy link
Collaborator

Choose a reason for hiding this comment

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

This removes a lot of unrelated makefile targets. Is that ok?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, I don't think we need one target per network

docker build -t ethrex:unstable .
docker build -t ethrex .
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are some places in CI and makefile where we retag this, I think. We should clean up those

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, its being worked on here: #4120

In general we shouldn't use make targets on the CI IMO

@github-project-automation github-project-automation bot moved this to In Review in ethrex_l1 Aug 22, 2025
@mpaulucci mpaulucci added this pull request to the merge queue Aug 22, 2025
Merged via the queue into main with commit f631ce3 Aug 22, 2025
49 checks passed
@mpaulucci mpaulucci deleted the fix-localnet branch August 22, 2025 14:10
@github-project-automation github-project-automation bot moved this from In Review to Done in ethrex_l1 Aug 22, 2025
pedrobergamini pushed a commit to pedrobergamini/ethrex that referenced this pull request Aug 24, 2025
)

**Motivation**
We were using the stable ethrex docker images instead of the one build
locally

**Description**
- Use the local image of ethrex
- Merge many localnet makefile commands into one
- Fix passing of `el_extra_params`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L1 Ethereum client
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants