Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Share body construction and input reading between transaction and sub-transaction builders

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

メンテナーはふだん 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

環境構築

はじめの一歩

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

IntersectMBO/cardano-cli のほかの issue

IntersectMBO/cardano-cli の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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