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 newly found issues due to latest changes #1218

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

platfowner
Copy link
Member

Change summary:

  • Fix circular node module loading issue
  • Fix start node script argument number issue

Related issues:

@platfowner platfowner added the bug Something isn't working label Dec 5, 2023
Copy link
Member

@jiyoung-an jiyoung-an left a comment

Choose a reason for hiding this comment

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

LGTM with a question! Thanks!

@@ -1,8 +1,8 @@
#!/bin/bash

# NOTE(minsulee2): Since exit really exits terminals, those are replaced to return 1.
if [[ $# -lt 4 ]] || [[ $# -gt 12 ]]; then
printf "Usage: bash start_node_genesis_gcp.sh [dev|staging|sandbox|exp|spring|summer|mainnet] <GCP Username> <Shard Index> <Node Index> [--keystore|--mnemonic|--private-key] [--keep-code|--no-keep-code] [--keep-data|--no-keep-data] [--full-sync|--fast-sync] [--chown-data|--no-chown-data] [--json-rpc] [--update-front-db] [--rest-func]\n"
if [[ $# -lt 4 ]] || [[ $# -gt 13 ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

what is the meaning of number 13 and 4?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's the maximum number of input parameters in sh.

@platfowner
Copy link
Member Author

Thanks for the review! @jiyoung-an Now merging..

@platfowner platfowner merged commit 9b3f546 into develop Dec 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants