Skip to content
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

fix setup and run instead of run only for madara #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TedZy829
Copy link
Contributor

@TedZy829 TedZy829 commented Nov 2, 2023

No description provided.

}

// Run the setup command for the node
const setupArgs = ['setup', '--chain', 'dev', '--from-local', './configs'];
Copy link
Collaborator

Choose a reason for hiding this comment

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

We just download the binary file, so --from-local ./configs shouldn't make sense because we never downloaded the config locally.

Copy link
Collaborator

Choose a reason for hiding this comment

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

--chain dev will initialize the config inside the dev folder. So if the user starts without development mode, this would cause the node to fail as it won't find the config. Can you verify?

@apoorvsadana
Copy link
Collaborator

Hey @TedZy829, I added a first round of review. We should also probably add a check to prevent users from using older versions of Madara. So a lower limite on the version select drop down,

@TedZy829
Copy link
Contributor Author

TedZy829 commented Nov 3, 2023

noted, will try to do so thanks!

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