- Move
Cardano.Ledger.Alonzo.Scripts.Data
toCardano.Ledger.Plutus.Data
- Deprecated
Cardano.Ledger.Alonzo.Language
- Move
Cardano.Ledger.Alonzo.TxInfo
toCardano.Ledger.Alonzo.Plutus.TxInfo
with deprecation of the former. - Add
evalScriptsWithLogs
,evalPlutusScriptsWithLogs
andrunPlutusScriptWithLogs
: #3843
- Provide CDDL spec files with
readAlonzoCddlFileNames
andreadAlonzoCddlFiles
fromTest.Cardano.Ledger.Alonzo.Binary.Cddl
- Add
Test.Cardano.Ledger.Alonzo.CostModel
- Add
updateCostModels
- Add
AlonzoEraUTxO
and use in the rules. - Deprecate
getDatum
in favor ofgetSpendingDatum
- Deprecate
getDatumAlonzo
in favor ofgetAlonzoSpendingDatum
- Deprecate
getSpendingTxIn
in favor ofgetAlonzoSpendingTxIn
- Deprecate
getAllowedSupplimentalDataHashes
in favor ofgetSupplementalDataHashes
- Rename
NonOutputSupplimentaryDatums
toNotAllowedSupplementalDatums
- Remove unused
isTwoPhaseScriptAddress
- Change arguments to
hasExactSetOfRedeemers
- Add
emptyAlonzoImpNES
- Add
Test.Cardano.Ledger.Alonzo.ImpTest
- Add
EraImpTest
instance forAlonzoEra
- Add
ToExpr
instances for:CollectError
AlonzoUtxoPredFailure
FailureDescription
TagMismatchDescription
AlonzoUtxosPredFailure
AlonzoUtxowPredFailure
BinaryData
Datum
IsValid
ScriptPurpose
TxOutSource
TranslationError
Addr28Extra
DataHash32
RdmrPtr
- Expose
genValidCostModel
inArbitrary
- Add
ToExpr
instance for:PlutusData
Data
BinaryData
Datum
AlonzoTx
AlonzoTxBody
AlonzoTxOut
AlozoTxWits
IsValid
Addr28Extra
DataHash32
RdmrPtr
Redeemers
- Add
Generic
instance for :AlonzoTxBody
Redeemers
TxDats
- Add
upgradeData
,upgradeRedeemers
andupgradeTxDats
- Add
TxUpgradeError
type toEraTx
- Add
AlonzoTxBodyUpgradeError
,AlonzoTxUpgradeError
- Add
toAlonzoTransitionConfigPairs
andEraTransition
instance. - Rename
alonzoGenesisAesonPairs
->toAlonzoGenesisPairs
for consistency.
- Add
Test.Cardano.Ledger.Alonzo.Binary.RoundTrip
module with:roundTripAlonzoCommonSpec
roundTripAlonzoEraTypesSpec
- Made
isPlutusScript
more general. - Add
alonzoEqTxRaw
andalonzoEqTxWitsRaw
- Add
EqRaw
instance forAlonzoScript
,AlonzoTxWits
,AlonzoTxAuxData
,AlonzoTxBody
andAlonzoTx
- Add
translateAlonzoTxAuxData
,translateAlonzoScript
andtranslateDatum
- Deprecated
translateTxOut
in favor ofupgradeTxOut
- Deprecated
transStakeCred
in favor oftransCred
- Rename
transShelleyTxCert
toalonzoTransTxCert
- Change type of
Plutus
to useBinaryPlutus
instead ofShortByteString
- Deprecate
runPLCScript
in favor ofrunPlutusScript
- Addition of
PlutusWithContext
- Deprecation of
collectTwoPhaseScriptInputs
in favor ofcollectPlutusScriptsWithContext
- Deprecation of
evalScripts
in favor ofevalPlutusScripts
- Deprecation of
runPLCScript
in favor ofrunPlutusScript
- Deprecation of
explainPlutusFailure
in favor ofexplainPlutusEvaluationError
- Move
BinaryPlutus
intocardano-ledger-core
package inCardano.Ledger.Language
module - Change
PlutusScript
constructor of theAlonzoScript
type. It now accepts the newPlutus
type instead of aLanguage
andShortByteString
- Rename
pdSBS
field topdPlutusScript
in thePlutusDebugLang
data type
- Export
transMintValue
- Add implementation for
spendableInputsTxBodyL
- Added
Semigroup
andMonoid
instances toAlonzoScriptsNeeded
- Introduction of
TxCert
andEraTxCert
- Add
EraTxCert
andShelleyEraTxCert
instances toAlonzoEra
- Add
PlutusTxCert
- Add
unTxCertV1
,unTxCertV2
,unTxCertV3
- Add
EraPlutusContext
- Add
EraPlutusContext 'PlutusV1
instance toAlonzoEra
- Rename
transTxCert
totransShelleyTxCert
- Remove
witsVKeyNeeded
, in favor of the one fromcardano-ledger-shelley
- Fix an issue where
TotalDeposits
didn't appear on Alonzo era
- Fix
PParams AlonzoEra
serialization. #3440
- Replace
DPState c
withCertState era
- Add
TranslateEra
instances for:DState
PState
VState
- Added support for Plutus V3 in the types and functions that use
Language
. (Note that the Alonzo ledger era rules do not allow V3 scripts, however.). - Fix a bug of converting a mint field to the plutus context: #3398
- Change parametrization of
ScriptPurpose
,CollectError
andTransactionScriptFailure
fromc
rypto toera
- Add
ToJSON
instance forAlonzoTxOut
,AlonzoScript
andDatum
- Add
ToJSON
instance forAlonzoPParams StrictMaybe
- Stop exporting an internal function
decodeBinaryData
- Remove redundant
Redeemers'
pattern synonym. - Move
Cardano.Ledger.Alonzo.Tools
module intocardano-ledger-api:Cardano.Ledger.Api.Scripts
- Add helper lens
hashDataTxWitsL
- Rename
smMap
tocmValues
- Remove redundant pattern synonym
AlonzoTxAuxData'{atadMetadata',atadTimelock',atadPlutus'}
- Addition of
costModelToMap
,costModelFromMap
andcostModelParamNames
- Made it possible for
FromJSON
to decodeCostModels
both as the new approach:- as a list of cost models values,
- and the old approach of mapping from the parameter name to the cost model value
- Consolidate all
Arbitrary
instances from the test package to under a newtestlib
. #3285
- First properly versioned release.