Skip to content

fix: use random anvil ports in examples#44

Merged
vasyl-ivanchuk merged 1 commit intomainfrom
use-random-anvil-ports-for-examples
Jan 14, 2025
Merged

fix: use random anvil ports in examples#44
vasyl-ivanchuk merged 1 commit intomainfrom
use-random-anvil-ports-for-examples

Conversation

@vasyl-ivanchuk
Copy link
Copy Markdown
Collaborator

@vasyl-ivanchuk vasyl-ivanchuk commented Jan 14, 2025

As anvil-zksync now panics when the port is already in use, our examples have started to fail as well (e.g. in this action).
I fixed the examples to set the port to 0, which translates to a random available port in anvil-zksync.

Copy link
Copy Markdown
Member

@popzxc popzxc left a comment

Choose a reason for hiding this comment

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

👍

@vasyl-ivanchuk vasyl-ivanchuk merged commit 9d6636b into main Jan 14, 2025
@vasyl-ivanchuk vasyl-ivanchuk deleted the use-random-anvil-ports-for-examples branch January 14, 2025 10:33
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