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

[CLI] fix command default value problem #17993

Merged
merged 17 commits into from
Jun 3, 2024
Merged

Conversation

howtosui
Copy link
Contributor

@howtosui howtosui commented May 30, 2024

Description

[CLI] fix sui keytool zk-login-sign-and-execute-tx command, should set the default value of --test-multisig to false, because it cannot be set to false in the command line. So current the generated zkLogin addresses will always be multisig address, and it is not possible to be single-sig address anymore.

The --fixed parameter also has the same problem.

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI: Sets the sui keytool zk-login-sign-and-execute-tx default value for --test-multisig and --fixed flags to false, because it's not possible to set them to false using the command line.
  • Rust SDK:

howtosui and others added 17 commits May 8, 2024 11:04
…set the default value of `--test-multisig` to `false`, because it cannot be set to `false` in the command line. So current the generated zkLogin addresses will always be multisig address, and it is not possible to be single-sig address anymore
…set the default value of `--test-multisig` to `false`, because it cannot be set to `false` in the command line. So current the generated zkLogin addresses will always be multisig address, and it is not possible to be single-sig address anymore.

The `--fixed` parameter also has the same problem.
Copy link

vercel bot commented May 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 7:38am

Copy link

vercel bot commented May 30, 2024

@howtosui is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

@stefan-mysten
Copy link
Contributor

@howtosui can you update the release notes as well with a descriptive message of the fix?

@howtosui
Copy link
Contributor Author

howtosui commented Jun 2, 2024

@howtosui can you update the release notes as well with a descriptive message of the fix?

@stefan-mysten I have already updated the release notes, please take a look, thanks!

@stefan-mysten stefan-mysten merged commit 39a0638 into MystenLabs:main Jun 3, 2024
43 of 46 checks passed
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request Jul 29, 2024
## Description 

[CLI] fix `sui keytool zk-login-sign-and-execute-tx` command, should set
the default value of `--test-multisig` to `false`, because it cannot be
set to `false` in the command line. So current the generated zkLogin
addresses will always be multisig address, and it is not possible to be
single-sig address anymore.

The `--fixed` parameter also has the same problem.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [x] CLI: `sui keytool zk-login-sign-and-execute-tx`: set the default
value for `--test-multisig` and `--fixed` flags to `false`, because it
cannot be set to false in the command line.
- [ ] Rust SDK:

---------

Co-authored-by: bityoume <bityoume@qq.com>
Co-authored-by: Ashok Menon <amenon94@gmail.com>
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.

5 participants