-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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] Add CLI PTB support #16207
Merged
Merged
[cli] Add CLI PTB support #16207
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
stefan-mysten
commented
Feb 12, 2024
stefan-mysten
commented
Feb 12, 2024
stefan-mysten
force-pushed
the
wip_cli_st
branch
from
February 13, 2024 23:27
002f98b
to
4c6eda9
Compare
github-actions
bot
added
the
Type: Documentation
Improvements or additions to documentation
label
Feb 14, 2024
amnn
approved these changes
Feb 26, 2024
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.
Good to go! 🚀
stefan-mysten
force-pushed
the
wip_cli_st
branch
from
February 26, 2024 18:19
7b751c7
to
a37b207
Compare
stefan-mysten
added a commit
to stefan-mysten/sui
that referenced
this pull request
Feb 26, 2024
This PR adds support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). Snapshot testing, unit tests, etc. ``` cd crates/sui && cargo nextest run ``` --- If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section. - [ ] protocol change - [x] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration Added support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). Use the `sui client ptb --help` for the help menu that explains all the commands and shows some usage examples . --------- Co-authored-by: Timothy Zakian <[email protected]>
stefan-mysten
added a commit
to stefan-mysten/sui
that referenced
this pull request
Feb 26, 2024
This PR adds support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). Snapshot testing, unit tests, etc. ``` cd crates/sui && cargo nextest run ``` --- If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section. - [ ] protocol change - [x] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration Added support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). Use the `sui client ptb --help` for the help menu that explains all the commands and shows some usage examples . --------- Co-authored-by: Timothy Zakian <[email protected]>
tx-tomcat
pushed a commit
to tx-tomcat/sui-network
that referenced
this pull request
May 30, 2024
## Description This PR adds support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). ## Test Plan Snapshot testing, unit tests, etc. ``` cd crates/sui && cargo nextest run ``` --- If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section. ### Type of Change (Check all that apply) - [ ] protocol change - [x] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration ### Release notes Added support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced: `sui client ptb`, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB). Use the `sui client ptb --help` for the help menu that explains all the commands and shows some usage examples . --------- Co-authored-by: Timothy Zakian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced:
sui client ptb
, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB).Test Plan
Snapshot testing, unit tests, etc.
If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.
Type of Change (Check all that apply)
Release notes
Support was added for writing and executing programmable transaction blocks from the CLI. In a nutshell, a new command is introduced:
sui client ptb
, where the user can pass in different arguments that correspond either to transactions or other flags (e.g., preview to list the transactions in the PTB without executing the PTB).Use the
sui client ptb --help
for the help menu that explains all the commands and shows some usage examples.