Share inclusion-fee resolution between token write commands and mint/clawback/set-admin

オープン
#2,799 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@fnando がすでに取り組んでいます。

2026年10月13日 から。

評価

この issue はまだ評価されていません。

説明

Follow-up from review discussion on #2786.

PR #2786 made the five hand-built token write commands (transfer, burn, approve, transfer-from, burn-from) honor the configured inclusion fee by reading STELLAR_FEE/STELLAR_INCLUSION_FEE directly in token::args::configured_fees(). These commands take --from/--spender instead of --source, so they can't flatten config::Args and pick up its clap-resolved fee fields the way mint/clawback/set-admin do. That leaves two resolution paths for the same env vars.

Proposed: lift fee/inclusion_fee out of config::Args into a flattenable sub-struct and flatten it into both config::Args and the five token write commands, so clap resolves them identically everywhere and configured_fees() can be removed.

主要言語
Rust
スター
129
フォーク
153
平均マージ
1日 14時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stellar/stellar-cli のほかの issue

stellar/stellar-cli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。