Skip to content

[cli] Add sender to ptb help menu #22293

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

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

stefan-mysten
Copy link
Contributor

@stefan-mysten stefan-mysten commented Jun 3, 2025

Description

A previous PR #22272 added support for setting the sender in a transaction. This PR adds this new argument to the ptb help menu.

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):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI: Added a new --sender argument for transactions to set the sender to a specific address.
  • Rust SDK:

@stefan-mysten stefan-mysten requested a review from Copilot June 3, 2025 18:02
@stefan-mysten stefan-mysten temporarily deployed to sui-typescript-aws-kms-test-env June 3, 2025 18:02 — with GitHub Actions Inactive
Copy link

vercel bot commented Jun 3, 2025

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 Jun 3, 2025 8:17pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2025 8:17pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2025 8:17pm

@stefan-mysten stefan-mysten changed the title [cli] Fix ptb description [cli] Add sender to ptb help menu Jun 3, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new --sender option to the ptb CLI command so users can override the default active address.

  • Introduces a --sender argument in the ptb_description function.
  • Provides a help description for the new option.

@stefan-mysten stefan-mysten merged commit 5f28d37 into MystenLabs:main Jun 3, 2025
49 checks passed
@stefan-mysten stefan-mysten deleted the cli-ptb-fix branch June 3, 2025 22:10
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.

2 participants