Skip to content

[General] Testing best practices #95

Closed Answered by MexicanAce
GavinStein1 asked this question in General
Discussion options

You must be logged in to vote

Hi @GavinStein1 👋 !

There are a few local test strategies that can be used as part of your migration, please see full description in the docs: https://era.zksync.io/docs/tools/testing/#testing-strategies-for-zksync-era

When attempting to use http://localhost:3050, that would be against a local node from the Dockerized Setup.

There's also era_test_node (as you described) and documentation on using that is available here: https://era.zksync.io/docs/tools/testing/era-test-node.html

At the moment, there's not an "integrated" network like Hardhat's Network Node. So you would need to start up a node in a separate terminal before running your tests.

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@GavinStein1
Comment options

@caffeinum
Comment options

Answer selected by GavinStein1
Comment options

You must be logged in to vote
5 replies
@MexicanAce
Comment options

@GavinStein1
Comment options

@uF4No
Comment options

@GavinStein1
Comment options

@Zohar97
Comment options

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question devtools Questions related to zkSync Tooling
8 participants