Skip to content

Conversation

@ilanolkies
Copy link
Contributor

@ilanolkies ilanolkies commented May 12, 2025

The mainnet fork was default and it is not working out of the box. I moved to --offline that doesn't fork, and that also is of my preference.

Screenshot 2025-05-12 at 2 53 12 PM --- **Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.**

Why

The changes ensure that the Anvil zkSync Docker container runs in offline mode by adding an --offline flag to its execution command. This is crucial for scenarios where network isolation is required or in testing environments where external network access should be limited to simulate or enforce certain conditions.

What

  • framework/components/blockchain/anvil_zksync.go
    • Added the --offline flag to the Anvil zkSync container's entrypoint command. This modification allows the container to operate without needing external network access, providing a more controlled environment for testing or specific operational requirements.

@ilanolkies ilanolkies requested a review from a team as a code owner May 12, 2025 19:06
@ilanolkies ilanolkies requested a review from Tofel May 12, 2025 19:06
@ilanolkies ilanolkies merged commit 56d67ad into main May 13, 2025
58 checks passed
@ilanolkies ilanolkies deleted the zk-offline branch May 13, 2025 13:48
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.

2 participants