- Add
txIdTxBody
andtxIdTx
. - Add
estimateMinFeeTx
andcalcMinFeeTx
- Add
queryAccountState
- Add
estimateMinFeeTx
- Add
registerInitialDReps
,registerDelegs
- Stop exporting
CostModels
internal representation - Change return type of
mintedTxBodyF
toSet PolicyID
- Remove old and deprecated functions
evaluateTransactionExecutionUnits
,evaluateTransactionExecutionUnitsWithLogs
andupdateTxBodyG
- Remove no longer necessary
ValidationFailed
- Adjust
TransactionScriptFailure
- Add
DecAddr
anddecodeAddrLenient
withdecodeAddrLenientEither
- Change the type of
ppEMaxL
,ppuEMaxL
,ppGovActionLifetimeL
,ppDRepActivityL
,ppCommitteeMaxTermLengthL
,ppuGovActionLifetimeL
,ppuDRepActivityL
andppuCommitteeMaxTermLengthL
- Move all
ToExpr
instances intotestlib
s. - Introduce
ToBeExpired
data constructor toNextEpochChange
- Introduce
TermAdjusted
data constructor toNextEpochChange
- Deprecate
GetCommitteeState
query - Add
GetCommitteeMembersState
query - Add
invalidBeforeL
andinvalidHereAfterL
- Export
isPlutusScript
- Add
NativeScript
,getNativeScript
andvalidateNativeScript
- Removed
phaseScript
- Remove
GovSnapshots
,cgGovSnapshotsL
,cgRatifyStateL
,cgGovSnapshotsL
andcgRatifyStateL
- Add
cgProposalsL
- Add
LatestKnownEra
- Add
Cardano.Ledger.Api.Transition
module - Add the dormant-epochs counter to
DRep
expiry inqueryDRepState
#3729- If it is not zero.
- Rename:
GovActionsState
toGovSnapshots
cgGovActionsStateL
tocgGovSnapshotsL
- Add
lookupRegStakeTxCert
andlookupUnRegStakeTxCert
- Add
isRegStakeTxCert
andisUnRegStakeTxCert
- Add one more parameter to
evalBalanceTxBody
#3688Credential 'DRepRole (EraCrypto era) -> Maybe Coin
- Add
cgEnactStateL
- Add
queryGovState
,queryDRepState
,queryDRepStakeDistr
andqueryCommitteeState
- Add
queryConstitution
. - Replace
constitutionHash
withconstitutionAnchor
- Add
eraName
- Add
upgradeTxAucData
function toEraTxAuxData
- Add
upgradeTxOut
function toEraTxOut
- Add
upgradeScript
function toEraScript
- Add
upgradeTxAuxData
function toEraTxAuxData
- Add
upgradeTxCert
function andTxCertUpgradeError
family toEraTxCert
- Export:
- Procedures:
VotingProcedure
,VotingProcedures
andProposalProcedure
- Constitution:
Constitution
,constitutionHashL
andconstitutionScriptL
- GovActions:
GovActionPurpose
,PrevGovActionId
,govActionIdToText
,PrevGovActionId
andGovActionPurpose
- Procedures:
- Add optional
PrevGovActionId
toParameterChange
,HardForkInitiation
,NoConfidence
,NewCommittee
andNewConstitution
governance actions. - Rename
*governance*
to*gov*
#3607 - Update
queryConstitutionHash
return type toSafeHash (EraCrypto era) (Constitution era)
#3556 - Rename
cgTallyL
tocgGovL
- Rename
ConwayTallyState
toConwayGovState
- Change constraints on
evalBalanceTxBody
- Add
spendableInputsTxBodyL
- Add
queryConstitutionHash
toCardano.Ledger.Api.State.Query
#3506 - Addition of
Cardano.Ledger.Api.Tx.Cert
- Removal of
VoterRole
in favor ofVoter
- Removal of
cgVoterRolesL
andcgVoterRoles
as no longer needed.
- Deprecated
updateTxBodyG
- Add support for Plutus V3
- Start on
Cardano.Ledger.Api.State.Query
interface:- Add
filterStakePoolDelegsAndRewards
andqueryStakePoolDelegsAndRewards
- Add
- Started
testlib
with first moduleTest.Cardano.Ledger.Api.State.Query
that exposesgetFilteredDelegationsAndRewardAccounts
- Add
Cardano.Ledger.Api.Governance
that exposes all of the governance related types. - Addition of
Cardano.Ledger.Api.PParams
- Addition of
Cardano.Ledger.Api.Tx.Address
- Addition of
Cardano.Ledger.Api.Tx.In
- Hide
ShelleyTxBody
,AlonzoTxBody
,BabbageTxBody
fromCardano.Ledger.Api.Tx.Body
- Export
Withdrawals
fromCardano.Ledger.Api.Tx.Body
- Export
ShelleyTxAuxData
,AllegraTxAuxData
andAlonzoTxAuxData
fromCardano.Ledger.Api.Tx.AuxData
- Export
LangDepView
andgetLanguageView
fromCardano.Ledger.Api.PParams
- Hide the internal compact versions from
Cardano.Ledger.Api.Tx.Out
module:compactValueTxOutL
,valueEitherTxOutL
,compactAddrTxOutL
andaddrEitherTxOutL
- Export from
Cardano.Ledger.Api.Tx.Out
:coinTxOutL
,bootAddrTxOutF
,ValidityInterval
andDataHash
. - Export from
Cardano.Ledger.Api.Scripts.Data
:BinaryData
,DataHash
,Datum
,binaryDataToData
,dataToBinaryData
,datumDataHash
,getPlutusData
,hashBinaryData
andmakeBinaryData
. - Export
Tx
andIsValid
fromCardano.Ledger.Api.Tx
- Export from
Cardano.Ledger.Api.Tx.AuxData
:mkAlonzoTxAuxData
andgetAlonzoTxAuxDataScripts
- Export from
Cardano.Ledger.Api.Tx.Wits
:WitVKey
,BootstrapWitness
,AlonzoEraTxWits
,TxDats
,unTxDats
,Redeemers
,unRedeemers
,RdmrPtr
andTag
. - Export from
Cardano.Ledger.Api.Scripts
:CostModels
andValidityInterval
. - Export from
Cardano.Ledger.Api.Era
:Era
ByronEra
- Protocol version related functionality:
eraProtVerHigh
,eraProtVerLow
,AtLeastEra
,AtMostEra
,ExactEra
,ProtVerAtLeast
,ProtVerAtMost
,ProtVerInBounds
,atLeastEra
andatMostEra
- Move
Cardano.Ledger.Alonzo.Tools
module fromcardano-ledegr-alonzo
intoCardano.Ledger.Api.Scripts
- Addition of
evalBalanceTxBody
- Addition of
evalTxExUnits
andevalTxExUnitsWithLogs
. DeprecatedevaluateTransactionExecutionUnits
andevaluateTransactionExecutionUnitsWithLogs
if favor of the newly added ones. - Export
hashDataTxWitsL
andhashScriptTxWitsL
- Initial release