Reduce duplication in implementations of `ApplyTx` across eras
by extracting the shared logic in helpers
by extracting the shared logic in helpers
in `mkStAnnTx`
so it can be reused in Alonzo
for more per-era control over revalidation of transactions
Since `Cardano.Ledger.Shelley.API` will be removed, we would like to keep re-exporting the deprecated names which will force us to change the imports at other places.
to replace `applyTxValidation`, operating on `ValidatedTx`. Define `applyTxValidation` in terms of `applyTxWithValidation`
- `DijkstraBBODY` -> `BBODY` - `DijkstraCERT` -> `CERT` - `DijkstraGOV` -> `GOV` - `DijkstraGOVCERT` -> `GOVCERT` - `DijkstraLEDGER` -> `LEDGER` - `DijkstraMEMPOOL` -> `MEMPOOL` - `DijkstraSUBCERT` -> `SUBCERT` - `DijkstraSUBCERTS` -> `SUBCERTS` - `DijkstraSUBDELEG` -> `SUBDELEG` - `DijkstraSUBGOV` -> `SUBGOV` - `DijkstraSUBGOVCERT` -> `SUBGOVCERT` - `DijkstraSUBLEDGER` -> `SUBLEDGER` - `DijkstraSUBLEDGERS` -> `SUBLEDGERS` - `DijkstraSUBPOOL` -> `SUBPOOL` - `DijkstraSUBUTXO` -> `SUBUTXO` - `DijkstraSUBUTXOW` -> `SUBUTXOW` - `DijkstraUTXO` -> `UTXO` - `DijkstraUTXOW` -> `UTXOW`
- `ConwayBBODY` -> `BBODY` - `ConwayCERT` -> `CERT` - `ConwayCERTS` -> `CERTS` - `ConwayDELEG` -> `DELEG` - `ConwayENACT` -> `ENACT` - `ConwayEPOCH` -> `EPOCH` - `ConwayGOV` -> `GOV` - `ConwayGOVCERT` -> `GOVCERT` - `ConwayHARDFORK` -> `HARDFORK` - `ConwayLEDGER` -> `LEDGER` - `ConwayMEMPOOL` -> `MEMPOOL` - `ConwayNEWEPOCH` -> `NEWEPOCH` - `ConwayRATIFY` -> `RATIFY` - `ConwayTICKF` -> `TICKF` - `ConwayUTXO` -> `UTXO` - `ConwayUTXOS` -> `UTXOS` - `ConwayUTXOW` -> `UTXOW`
- `AlonzoBBODY` -> `BBODY` - `AlonzoLEDGER` -> `LEDGER` - `AlonzoUTXO` -> `UTXO` - `AlonzoUTXOS` -> `UTXOS` - `AlonzoUTXOW` -> `UTXOW`
- `AllegraUTXO` -> `UTXO` - `AllegraUTXOW` -> `UTXOW`