-
Notifications
You must be signed in to change notification settings - Fork 34
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: compatibility with newer ckb-cli #71
Conversation
blckngm
commented
Sep 22, 2022
- Remove --wait-for-sync arg when calling ckb-cli
- Remove fields that no longer exists in LiveCellInfoVec
@@ -114,7 +113,6 @@ impl Collector { | |||
.arg("--url") | |||
.arg(&self.api_uri) | |||
.arg("wallet") | |||
.arg("--wait-for-sync") |
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.
The --ckb-indexer-url
argument is needed.
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.
Didn't notice this because I have run ckb-cli interactively before and there are saved urls.
This argument will need to be added to capsule deploy
too and passed to ckb-cli?
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.
Yes, just like the argument --url
above.
Is this PR ready for merge? |
I think so. Please review. |
Please rebase and sign all your commits. |
* Remove --wait-for-sync arg when calling ckb-cli * Remove fields that no longer exists in LiveCellInfoVec * Add --ckb-indexer-url arg to deploy command It could also be specified with environment variable CKB_INDEXER_URL. And the --api arg can be specified with the API_URL environment variable now. (These environment variable names are consistent with ckb-cli.)
366cdca
to
4aa6742
Compare
Done. |