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

sui-move: drop duplicate --path options #20005

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

yanganto
Copy link
Contributor

@yanganto yanganto commented Oct 24, 2024

Description

Use default_value_if to instead of using the same alias, and avoid to have panic in debug build.
Fix #20003

Test plan

Reuse existing test cases


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: add --run-bytecode-verifier and --print-diags-to-stderr for sui-move
  • Rust SDK:
  • REST API:

Use `default_value_if` to instead of using the same alias, and avoid to
be panic in debug build.
Copy link

vercel bot commented Oct 24, 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 Oct 25, 2024 9:08pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 9:08pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 9:08pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 9:08pm

@stefan-mysten stefan-mysten self-requested a review October 25, 2024 15:24
@stefan-mysten
Copy link
Contributor

Thanks @yanganto!

Copy link
Contributor

@stefan-mysten stefan-mysten left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this. I am not fully sure these flags require the default_value_if.

Let `run_bytecode_verifier` and `print_diags_to_stderr` independent
options

Co-authored-by: stefan-mysten <[email protected]>
@stefan-mysten
Copy link
Contributor

This looks good, thanks @yanganto!

@stefan-mysten stefan-mysten merged commit 1837a5e into MystenLabs:main Oct 28, 2024
48 checks passed
@yanganto yanganto deleted the duplicate-option branch October 28, 2024 15:36
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.

[sui-move] duplicate --path options
2 participants