Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Move Transaction.Internal.Common helpers into focused modules

Aperta
#1,461 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Jimbo4350 ci sta già lavorando.

Dal 13/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

refactor

Transaction.Internal.Common groups unrelated helpers for output conversion, mint validation, signing witnesses, and reference inputs. Give each helper a more specific home while preserving sharing between the transaction and sub-transaction builders without import cycles.

Suggested moves from the review:

  • toTxOutInEra → a new Transaction.Internal.TxOut module.
  • getAllReferenceInputs → a new Transaction.Internal.ReferenceInput module.
  • createTxMintValue → Script.Mint.Read.
  • convertVotingProcedures → Script.Vote.Read.
  • scriptInEraToSimpleScript → Script.Read.Common.
  • partitionSomeWitnesses → Cardano.CLI.Read, alongside ByronOrShelleyWitness, removing the transaction-internal dependency from Compatible.Transaction.Run.
  • Return toTxOutInShelleyBasedEra to its sole caller's module, Transaction.Run.
  • Replace the convertWithdrawals wrapper with Exp.TxWithdrawals at its call sites.

Update imports and module declarations, remove the common module if no longer needed, and preserve existing CLI behavior and tests.

Deferred from PR #1453: review comment. Jordan marked this non-critical and suitable for a future PR.

Lingua principale
Haskell
Stelle
72
Fork
25
Merge medio
1g 15h
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/cardano-cli

Tutte le issue di IntersectMBO/cardano-cli

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.