Share body construction and input reading between transaction and sub-transaction builders
メンテナーはふだん 1 日以内に返信
@Jimbo4350 がすでに取り組んでいます。
2026年10月13日 から。
評価
この issue はまだ評価されていません。
説明
The sub-transaction builder duplicates transaction-body construction and input reading from the top-level builder. The review of PR #1453 identified roughly 50 shared lines between constructSubTx and constructTxBodyContent, plus roughly 35 shared lines between the read blocks in runSubTransactionBuildRawCmd and runTransactionBuildRawCmd. New shared fields and fixes currently require changes in both paths.
Extract shared body preparation and setters into a small, purpose-named module, and reuse the common input-reading logic where appropriate. Keep transaction-level-specific behavior in the respective constructors, including top-level fee/collateral handling and sub-transaction guard handling and Plutus V4 validation.
Preserve CLI behavior, validation, witness construction, and serialized output. Retain coverage for both top-level and sub-transaction builders, including their differing restrictions.
Deferred from PR #1453: review comment. Jordan marked this non-critical and suitable for a follow-up PR.
Related: #1461 (focused helper modules) and #1462 (shared argument records and parsers). This issue covers shared runner/body-construction logic.
- 主要言語
- Haskell
- スター
- 72
- フォーク
- 25
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/cardano-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
IntersectMBO/cardano-cli#1306 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Clarify the origin and intended use of Plutus V2/V4 test fixtures対応中かも @Jimbo4350 が 1 日前に担当しました。 オープン
IntersectMBO/cardano-cli#1464 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Share common transaction-body arguments across builder commands対応中かも @Jimbo4350 が 1 日前に担当しました。 オープン
IntersectMBO/cardano-cli#1462 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Move Transaction.Internal.Common helpers into focused modules対応中かも @Jimbo4350 が 1 日前に担当しました。 オープン
IntersectMBO/cardano-cli#1461 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Ensure Plutus V4 scripts can be deserialised by cardano-cli対応中かも @carbolymer が 21 日前に担当しました。 オープンenhancement
IntersectMBO/cardano-cli#1448 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
IntersectMBO/cardano-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
simplex-chat/simplex-chat#7714 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
component: hls-eval-plugin status: needs triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
haskell/haskell-language-server#5144 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: -std selection does not work with COBOL -> GnuCOBOL 1.1対応中かも @Anandb71 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9272 ·
メンテナーはふだん 1 日以内に返信