-
Notifications
You must be signed in to change notification settings - Fork 99
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 localnet command #16
Conversation
Feat: localnet subcommand
Describe localnet subcommand in the README
- `zksync-cli localnet stop`: stop L1 and L2 localnets. | ||
- `zksync-cli localnet logs`: Display logs. | ||
- `zksync-cli localnet help`: Display this message and quit. | ||
- `zksync-cli localnet wallets`: Display seeded wallet keys. |
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.
❤
…rlabs-main Fix merge conflicts with the matterlab's `main` branch.
matter-labs/local-setup#8 is now merged |
bin/index.js
Outdated
@@ -0,0 +1,80 @@ | |||
#! /usr/bin/env node |
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.
Please remove the files in the bin/
directory from this PR
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.
Addressed @ c58b62b
package-lock.json
Outdated
@@ -1,12 +1,12 @@ | |||
{ | |||
"name": "zksync-cli", | |||
"version": "0.1.4", | |||
"version": "0.2.3", |
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.
We should revert these changes as we're moving to semantic-release
All comments and merge conflicts were addressed. I tested it manually on my workstation and it works as intended. |
I fixed the merge conflicts and adapted the PR to follow the new project structure introduced @ 632cb36 (Nice job refactoring the project BTW) |
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 is included in version 0.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Add the ability to handle a local node from the
zksync-cli localnet
command, abstracting the user from previous knowledge of using Docker.Requires matter-labs/local-setup#8 to be merged first.