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

Update --fee options to indicate units are in XCH #15327

Merged
merged 1 commit into from
May 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions chia/cmds/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ def notification_cmd():
show_default=True,
)
@click.option("-n", "--message", help="The message of the notification", type=str)
@click.option("-m", "--fee", help="The fee for the transaction", type=str)
@click.option("-m", "--fee", help="The fee for the transaction, in XCH", type=str)
def _send_notification(
wallet_rpc_port: Optional[int],
fingerprint: int,
Expand Down Expand Up @@ -1355,7 +1355,7 @@ def vcs_cmd(): # pragma: no cover
@click.option("-f", "--fingerprint", help="Set the fingerprint to specify which key to use", type=int)
@click.option("-d", "--did", help="The DID of the VC's proof provider", type=str, required=True)
@click.option("-t", "--target-address", help="The address to send the VC to once it's minted", type=str, required=False)
@click.option("-m", "--fee", help="Blockchain fee for mint transaction", type=str, required=False)
@click.option("-m", "--fee", help="Blockchain fee for mint transaction, in XCH", type=str, required=False)
def _mint_vc(
wallet_rpc_port: Optional[int],
fingerprint: int,
Expand Down Expand Up @@ -1429,7 +1429,7 @@ def _get_vcs(
required=False,
)
@click.option("-p", "--new-proof-hash", help="The new proof hash to update the VC to", type=str, required=True)
@click.option("-m", "--fee", help="Blockchain fee for update transaction", type=str, required=False)
@click.option("-m", "--fee", help="Blockchain fee for update transaction, in XCH", type=str, required=False)
@click.option(
"--reuse-puzhash/--generate-new-puzhash",
help="Send the VC back to the same puzzle hash it came from (ignored if --new-puzhash is specified)",
Expand Down Expand Up @@ -1528,7 +1528,7 @@ def _get_proofs_for_root(
)
@click.option("-f", "--fingerprint", help="Set the fingerprint to specify which key to use", type=int)
@click.option("-p", "--parent-coin-id", help="The ID of the parent coin of the VC", type=str, required=True)
@click.option("-m", "--fee", help="Blockchain fee for revocation transaction", type=str, required=False)
@click.option("-m", "--fee", help="Blockchain fee for revocation transaction, in XCH", type=str, required=False)
@click.option(
"--reuse-puzhash/--generate-new-puzhash",
help="Send the VC back to the same puzzle hash it came from (ignored if --new-puzhash is specified)",
Expand Down