-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add option to provide the RPC URL for a localhost network deployment #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Lets wait for @rymnc review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can be merged after @stubbsta confirms it works with waku-simulator
This change isn't working when testing in waku-simulator.
Is there some hardhat setting required to ensure it uses the provided config? |
can you try |
Running
works and uses the provided URL. Using the network name 'localhost' seems to bypass using the config from hardhat.config.ts.
I am able to successfully deploy the contracts from my local machine (not inside docker) with no .env file present or even with
instead of
Is it acceptable to use "localhost_integration" as the network or do we want to find a way to use "localhost" with a given RPC URL? |
We could also change the network name in hardhat.config.ts from 'localhost_integration' to 'localhost', then using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adds a feature required by the waku-simulator to enable deployment to a network other than sepolia or localhost.