- Change param of
PoolRank.desirability
toWord16
- Change type of
nOpt
inRewardParams
toWord16
- Add lenses for
LedgerEnv
. #4748ledgerSlotNoL
ledgerEpochNoL
ledgerIxL
ledgerPpL
ledgerAccountL
ledgerMempoolL
- Change
PoolEnv
to takeEpochNo
instead ofSlotNo
- Add
EpochNo
toDelplEnv
- Add
Maybe EpochNo
toLedgerEnv
- Add
EpochNo
toLedgersEnv
- Added
Generic
,Eq
,Show
,NFData
,EncCBOR
instances forShelleyLedgersEnv
- Remove deprecated
witsVKeyNeededGov
,witsVKeyNeededNoGov
,shelleyWitsVKeyNeeded
andpropWits
- Remove deprecated
PPUPPredFailure
,delPlAcnt
,prAcnt
,votedValue
- Remove impossible predicate failure
StakeKeyInRewardsDELEG
- Change parameter type of
StakeKeyNonZeroAccountBalanceDELEG
fromMaybe Coin
toCoin
- Remove deprecated
hashMultiSigScript
andtxwitsScript
- Remove deprecated
keyBy
,requiresVKeyWitness
andMetadata
- Remove deprecated
updatePParams
,txup
,scriptCred
,scriptStakeCred
,scriptsNeeded
- Remove deprecated
proposals
,futureProposals
,sgovPp
andsgovPrevPp
- Remove deprecated module
Cardano.Ledger.Shelley.Metadata
- Remove deprecated module
Cardano.Ledger.Shelley.PoolParams
- Remove deprecated module
Cardano.Ledger.Shelley.EpochBoundary
- Remove deprecated module
Cardano.Ledger.Shelley.Delegation.Certificates
- Remove deprecated module
Cardano.Ledger.Shelley.Address.Bootstrap
- Remove deprecated
applyTxs
andapplyTxsTransition
- Remove
Cardano.Ledger.Shelley.API.Genesis
module with deprecated type classCanStartFromGenesis
. Also removes helper bindinginitialStateFromGenesis
. - Remove deprecated
ShelleyEraCrypto
- Remove deprecated
evaluateMinLovelaceOutput
,addShelleyKeyWitnesses
,evaluateTransactionBalance
- Remove deprecated
KeyPairs
and stop exportingKeyPair
- Remove
mkDelegation
and deprecatedDelegate
,RegKey
,DeRegKey
,delegCWitness
,isRegKey
andisDeRegKey
- Remove export of deprecated
RewardAcnt
andpoolCWitness
- Change type of VRF key hash in
GenesisDelegCert
,GenesisDelegTxCert
andDuplicateGenesisVRFDELEG
toVRFVerKeyHash
- Added
EncCBOR
instance forLedgerEnv
- Use
Mismatch
to clarify some more predicate failures. #4711Shelley/InsufficientForInstantaneousRewardsDELEG
Shelley/MIRCertificateTooLateinEpochDELEG
Shelley/InsufficientForTransferDELEG
Shelley/ExpiredUTxO
Shelley/ValueNotConservedUTxO
- Add
runSTS
- Add
iteExpectLedgerRuleConformance
toImpTestEnv
for additionally checking conformance with ImpTests. #4748- Add lens
iteExpectLedgerRuleConformanceL
. - Add
modifyImpInitExpectLedgerRuleConformance
.
- Add lens
- Added
tryLookupReward
- Switch to using
ImpSpec
package - Remove:
runImpTestM
,runImpTestM_
,evalImpTestM
,execImpTestM
,runImpTestGenM
,runImpTestGenM_
,evalImpTestGenM
,execImpTestGenM
,withImpState
andwithImpStateModified
. - Add
LedgerSpec
,modifyImpInitProtVer
. - Re-export
ImpM
andImpInit
- Remove
iteState
anditeQuickCheckSize
fromImpTestEnv
- Added
ToExpr
instance forShelleyLedgersEnv
- Changed type signature of
freshKeyHashVRF
to returnVRFVerKeyHash
instead of just aHash
- Added
expectUTxOContent
- Added
disableTreasuryExpansion
- Added a
MonadFail
constraint to two methods ofShelleyEraImp
:initGenesis
initNewEpochState
- Added a
MonadFail
constraint to:defaultInitNewEpochState
defaultInitImpTestState
- Added
logText
- Added
ToExpr
instance forLedgerEnv
- Added
tryRunImpRuleNoAssertions
toImpTest
- Revert changes to serialization of
ShelleyPoolPredFailure
- Remove
ShelleyNewppPredFailure
. #4649 - Change predicate-failures and their serialization to use the
Mismatch
type to report supplied and expected values. #4649MaxTxSizeUTxO
FeeTooSmallUTxO
WrongBlockBodySizeBBODY
InvalidBodyHashBBODY
ConflictingMetadataHash
StakePoolRetirementWrongEpochPOOL
StakePoolCostTooLowPOOL
WrongNetworkPOOL
NonGenesisUpdatePPUP
- Deprecated
applyTxs
andapplyTxsTransition
inMempool
- Replaced
applyTx
inApplyTx
class withapplyTxOpts
- Added and exposed
applyTx
inMempool
- Added
mempool
toLedgerEnv
- Added
registerStakeCredential
anddelegateStake
toImpTest
- Remove protocol version argument from
mkShelleyGlobals
(maxMajorPV
was removed fromGlobals
) - Added
EncCBOR
instances for:UtxoEnv
CertEnv
- Expose
ptrMapL
- Exposed
registerPoolWithRewardAccount
- Added
poolParams
toImpTest
- Changed signature of
registerPool
- Remove
minMajorPV
andmaxMajorPV
fromConstants
- Add
logDoc
that takes aDoc AnsiStyle
instead of aString
- Rename
logEntry
tologString
- Added CDDL definitions in Test.Cardano.Ledger.Shelley.CDDL
- Add
translateToShelleyLedgerStateFromUtxo
- Added
wireSizeShelleyTxF
- Add
submitFailingTxM
- Add
fixupTxOuts
- Add
initGenesis
andinitNewEpochState
toShelleyEraImp
. Change type signature and semantics ofinitImpTestState
- Add
defaultInitNewEpochState
anddefaultInitImpTestState
- Add
impEraStartEpochNo
- Add
fixupAuxDataHash
- Add
impSetSeed
- Add
ToExpr
instance forRewardUpdate
- Add
advanceToPointOfNoReturn
- Add
impLogToExpr
- Add
freshKeyAddr_
- Add
NFData
instance forPoolEnv
. - Add
Generic
andNFData
instances forDelegEnv
- Introduce
ShelleyEraScript
class - Add
ShelleyEraScript
forShelleyEra
- Replace patterns within
MultiSig
withShelleyEraScript
-constrained ones:RequireSignature
RequireAllOf
RequireAnyOf
RequireMOf
- Change signatures of
evalMultiSig
andvalidateMultiSig
:- replace
Era
constraint withShelleyEraScript
- replace
MultiSig
withNativeScript
- replace
- Add
Inject
instances for:UTxOState
UtxoEnv
- Change return type of
trySubmitTx
to include the fixedup transaction - Add
ToExpr
forPoolEnv
. - Add
withCborRoundTripFailures
- Change signatures of
Arbitrary
instances forMultiSig
:- replace
Era
constraint withShelleyEraScript
- add
NativeScript era ~ MultiSig era
constraint
- replace
- Introduce
futurePParamsGovStateL
,futurePParamsShelleyGovStateL
andsgsFuturePParams
- Deprecate
votedValue
in favor ofvotedFuturePParams
.
- Add
Testable
instance forImpTestM
- Export
impNESL
instead of ofimpNESG
fromImpTest
- Replace
initImpNES
withinitImpTestState
and change its return type to MonadState - Add functions to Shelley
ImpTest
:withFixup
withCustomFixup
withPreFixup
withPostFixup
- Add
ToExpr
andNFData
instances forUtxoEnv
- Stop fixing up multi assets in the transaction.
- Change how quickcheck generator is initialized in
runImpTestM
and others derived from it.
- Remove the
PParams
param fromvalidateMissingScripts
- Remove the
missingScriptsSymmetricDifference
function - Add
NFData
instance forAdaPots
,ShelleyDelegEvent
- Add
Generic
,Eq
andNFData
instances for:ShelleyDelegsEvent
ShelleyDelplEvent
ShelleyEpochEvent
ShelleyLedgerEvent
ShelleyMirEvent
ShelleyNewEpochEvent
PoolEvent
PoolReap
PpupEvent
RupdEvent
SnapEvent
ShelleyTickEvent
UtxoEvent
ShelleyUtxowEvent
- Rename
NewEpoch
constructor ofShelleyDelegEvent
toDelegNewEpoch
- Rename
ShelleyGovState
fields:proposals
tosgsCurProposals
futureProposals
tosgsFutureProposals
sgovPp
tosgsCurPParams
sgovPrevPp
tosgsPrevPParams
- Change
UPEC
environment toLedgerState
- Rename
currentPp
tousCurPParams
andppupState
tousGovState
- Change
ApplyTxError
,TickTransitionError
andBlockTransitionError
to useNonEmpty (PredicateFailure _)
instead of[PredicateFailure _]
- Removed
prettyWitnessSetParts
- Re-implemented
ShelleyTxWits
withMemoBytes
- Re-implemented
ShelleyTxAuxData
withMemoBytes
- Remove
getNextEpochCommitteeMembers
fromEraGov
- Deprecated
PPUPPredFailure
- Add instances for
InjectRuleFailure
and switch to usinginjectFailure
- Remove
poolCertTransition
- Remove
getDRepDistr
,getConstitution
andgetCommitteeMembers
fromEraGov
#4033- Move
Constitution
toConway.Governance.Procedures
- Move
- Deprecated
keyBy
- Add
getShelleyMinFeeTxUtxo
- Add implementation for
getMinFeeTxUtxo
- Remove deprecated functions from
Wallet
:evaluateMinFee
andevaluateTransactionFee
- Replace
depositsAdaPot
inAdaPots
withobligationsPot
- Add
sumAdaPots
- Deprecate
delPlAcnt
in favor ofdelPlAccount
- Rename
RewardAccount
fieldsgetRwdNetwork
andgetRwdCred
toraNetwork
andraCredential
respectively - Deprecate
prAcnt
in favor ofprAccountState
- Deprecate
RewardAcnt
in favor ofRewardAccount
- Remove
registerInitialFunds
andregisterInitialStaking
- Add
registerInitialFundsThenStaking
- Modify
PParams
JSON instances to matchcardano-api
- Add wrapper to
PParams
inShelleyGenesis
to preserve the legacy behaviour of JSON instances
- Add
ToExpr
instances for:ShelleyDelegsEvent
ShelleyDelplEvent
ShelleyEpochEvent
ShelleyLedgerEvent
ShelleyMirEvent
ShelleyNewEpochEvent
PoolEvent
PoolReap
PpupEvent
RupdEvent
SnapEvent
ShelleyTickEvent
UtxoEvent
ShelleyUtxowEvent
- Add
SomeSTSEvent
- Replaced
small-steps-test
dependency withsmall-steps:testlib
- Change
submitFailingTx
,tryRunImpRule
andtrySubmitTx
to useNonEmpty (PredicateFailure _)
instead of[PredicateFailure _]
- Added
ToExpr
instance forShelleyTxWitsRaw
- Add
RuleListEra
instance for Shelley - Add argument to
impSatisfyNativeScript
that accounts for already satisifed witnesses - Remove
impFreshIdxL
- Remove root coin argument from
initImpNES
,initShelleyImpNES
- Adjust
sendCointTo
andsendValueTo
to returnTxIn
- Added
ToExpr
instance forShelleyTxAuxDataRaw
- Add:
PlutusArgs
ScriptTestContext
shelleyFixupTx
impGetScriptTestContext
impGetScriptContextMaybe
updateAddrTxWits
addNativeScriptTxWits
addRootTxIn
fixupFees
logFeeMismatch
impScriptsL
impNativeScriptsG
- Add:
expectRegisteredRewardAddress
expectNotRegisteredRewardAddress
expectTreasury
- Add
ToExpr
instances forAdaPots
andObligations
- Add
getShelleyGenesisKeyHashCountTxBody
- Change
PPUP
signal toStrictMaybe
fromMaybe
- Deprecate
txup
function. - Prevent instances for
SahelleyEraTxBody
starting with protocol version 9. - Add
ToJSON
instance forShelleyTxCert
,ShelleyDelegCert
,MIRCert
,MIRTarget
,MIRPot
andGenesisDelegCert
- Deprecate
evaluateTransactionFee
in favor ofCardano.Ledger.Api.Tx.estimateMinFeeTx
- Change the type signature and the logic in
validateNeededWitnesses
- Add
getShelleyWitsVKeyNeeded
andgetShelleyWitsVKeyNeededNoGov
- Deprecate
witsVKeyNeededNoGov
andshelleyWitsVKeyNeeded
- Get rid of
ueGenDelegs
andueGenDelegsL
as unnecessary. - Change the signature of
protectMainnet
to make it work with anyTransitionConfig
- Add
protectMainnetLens
- Add
tcNetworkIDG
- Add
sgInitialFundsL
andsgStakingL
- Stop exporting all of the internal
hkd*
functions andPParamsHKD
fromCardano.Ledger.Shelley.Core
. - Deprecated unused
hashMultiSigScript
,txwitsScript
- Delete deprecated modules:
Cardano.Ledger.Shelley.Orphans
Cardano.Ledger.Shelley.Delegation.PoolParams
Cardano.Ledger.Shelley.LedgerState.RefundsAndDeposits
- Remove deprecated functions:
updateTxBodyG
,totalCertsDeposits
,totalCertsDepositsCertState
,totalTxRefundsShelley
,keyCertsRefunds
,keyCertsRefundsCertState
,totalTxDeposits
,totalTxDepositsShelley
minfee
,extractKeyHashWitnessSet
,witKeyHash
,wvkBytes
,validateNativeMultiSigScript
,evalNativeMultiSigScript
,diffWitHashes
,nullWitHashes
,unWitHashes
andemptyDState
- Remove deprecated type:
WitHashes
- Stop exporting
ShelleyTxBody
,ShelleyTxOut
,TxIn
,TxId
fromCardano.Ledger.Shelley.Tx
- Stop exporting
GenesisDelegCert
,MIRCert
,MIRPot
,MIRTarget
,ShelleyDelegCert
,PoolCert
,PoolMetadata
,PoolParams
,Ptr
,StakePoolRelay
,TxOut
,ShelleyTxOut
,Url
,SizeOfPoolRelays
,SizeOfPoolOwners
,Delegation
,addrEitherShelleyTxOutL
,valueEitherShelleyTxOutL
,nativeMultiSigTag
andCardano.Ledger.Keys.WitVKey
module fromCardano.Ledger.Shelley.TxBody
- Export
RegTxCert
,UnRegTxCert
,DelegStakeTxCert
andGenesisDelegTxCert
fromCardano.Ledger.Shelley.Core
. - Change the type of
ppEMaxL
- Change the type of
pvCanFollow
to make sure new protocol version is not optional - Add
hasLegalProtVerUpdate
- Add
freshKeyHashVRF
- Add
registerPool
- Add
sendValueTo
andsendCoinTo
- Add
dispenseIndex
- Add
fixupTx
,impAddNativeScript
andlogToExpr
- Remove
mkTxWits
- Add
impNESG
,impLastTickG
,impKeyPairsG
andimpScriptsG
. Stop exportingimpNESL
andimpLastTickL
- Add
impScripts
andimpScriptsG
- Add
impSatisfyNativeScript
andimpShelleySatisfyNativeScript
- Rename
emptyImpNES
toinitImpNES
- Rename
emptyShelleyImpNES
toinitShelleyImpNES
- Add
lookupImpRootTxOut
and removeimpRootTxCoin
- Add
submitTx_
,submitTxAnn
andsubmitTxAnn_
. - Change type signature for
submitTx
andtrySubmitTx
. - Add
tryRunImpRule
- Extract
impWitsVKeyNeeded
from theShelleyEraImp
type class and make it into anImpTestM
action - Add
fixupFees
impLastTickL
withNoFixup
ImpTestEnv
iteDoFixupL
- Add
runImpTestM
,runImpTestM_
,evalImpTestM
andexecImpTestM
- Add instance
Example (a -> ImpTestM era ())
, which allows use ofArbitrary
- Add
getNextEpochCommitteeMembers
toEraGov
typeclass, with a default empty implementation - Add
TxUTxODiff (UTxO era) (UTxO era)
inhabitant to theUtxoEvent era
data type.
- Add
shelleyTotalDepositsTxCerts
andshelleyTotalRefundsTxCerts
- Remove dead functions:
depositPoolChange
andreapRewards
- Move
getTotalDepositsTxBody
andgetTotalRefundsTxBody
intocardano-ledger-core:Cardano.Ledger.Core.EraTxBody
fromShelleyEraTxBody
- Change type signature and behavior of
updateUTxOState
- Deprecate
totalCertsDeposits
,totalCertsDepositsCertState
,totalTxDepositsShelley
,keyCertsRefundsCertState
,keyCertsRefunds
andtotalTxRefundsShelley
- Provide CDDL spec files with
readBabbageCddlFileNames
andreadBabbageCddlFiles
fromTest.Cardano.Ledger.Babbage.Binary.Cddl
- Remove
impExpectFailure
in favor ofexpectLeft
- Remove
impExpectSuccess
in favor ofexpectRightDeep
- Remove
itM
in favor ofit
- Remove
impIOMsg
in favor of newimpAnn
- Remove
impIO
andpredicateFailureShouldBe
as no longer needed - Add
withImpState
- Expose type
ImpTestState
- Add
Example
instance forImpTestM
- Change the return type of
getCommitteeMembers
- Remove
validateDelegationRegistered
in favor of a new and more specific validating functionvalidateStakePoolDelegateeRegistered
. - Add
ToExpr
instances for:ShelleyDelegPredFailure
ShelleyDelegsPredFailure
ShelleyDelplPredFailure
ShelleyEpochPredFailure
ShelleyLedgerPredFailure
ShelleyPpupPredFailure
ShelleyUtxoPredFailure
VotingPeriod
- Add
NFData
instances for:ShelleyMirPredFailure
ShelleyNewEpochPredFailure
ShelleyNewppPredFailure
ShelleyPoolreapPredFailure
ShelleySnapPredFailure
ShelleyUpecPredFailure
- Add
epochStateGovStateL
- Add
shelleyCommonPParamsHKDPairsV8
- Add
ToExpr
instances for:ShelleyPoolPredFailure
ShelleyUtxowPredFailure
- Add
NFData
instance for:ShelleyRupdPredFailure
ShelleyTickPredFailure
- Rename
validateFailedScripts
tovalidateFailedNativeScripts
and change its arguments. - Change type of
validateMissingScripts
- Add
Test.Cardano.Ledger.Shelley.ImpTest
- Add
Test.Cardano.Ledger.Shelley.ImpTestSpec
- Add
EraImpTest
instance forShelleyEra
- Add
ToExpr
instance for:Update
ShelleyTx
ShelleyTxBody
ShelleyTxWits
- Add
Generic
instance forShelleyTx
- Add
Memoized
instance forShelleyTx
- Introduce
Cardano.Ledger.Shelley.Transition
module withEraTransition
interface. - Deprecated
CanStartFromGenesis
interface in favor ofEraTransition
- Add
Semigroup
andMonoid
instances forShelleyGenesisStaking
- Add
FromJSON
instance forConstitution
- Add
Arbitrary
instance forConstitution
Test.Cardano.Ledger.Shelley.Binary.RoundTrip
module with:roundTripShelleyCommonSpec
roundTripStateEraTypesSpec
- Add lens
epochStateTreasuryL
#3748
- Deprecate
isRegKey
andisDeRegKey
in favor ofisRegStakeTxCert
andisUnRegStakeTxCert
#3700 - Add lenses for
UTxOEnv
#3688 - Add
getTotalTxDepositsBody
toShelleyEraTxBody
- Add
obligationGovState
toEraGov
- Add
ToExpr
instance toConstitution
- Replace
obligationCertState
withtotalObligation
- Deprecated
totalTxDeposits
- Add
potEqualsObligation
- Add
shelleyLedgerAssertions
- Add
totalTxDepositsShelley
- Add
eqMultiSigRaw
,shelleyEqTxRaw
andshelleyEqTxWitsRaw
- Add
EqRaw
instance forMultiSig
,ShelleyTxWits
,ShelleyTxAuxData
,TxBody
andTx
- Add
ToExpr
instance forGenesisDelegCert
,MIRPot
,MirTarget
,MIRCert
,ShelleyTxCert
,ShelleyDelegCert
,MultiSig
andMultiSigRaw
- Add new lens
epochStateIncrStakeDistrL
, that points to thecredMap
field ofIncrementalStake
fromEpochState
- Introduce
ShelleyPoolreapEnv
and replaceEnvironment
forShelleyPOOLREAP
- Remove redundant reimplementation of lens function
%~
:updateWithLens
. - Change
getConstituitionHash
togetConstitution
- Replace
constitutionHash
withconstitutionAnchor
- Add
upgradeShelleyTxCert
- Rename
*governance*
to*gov*
#3607EraGovernance
toEraGov
GovernanceState
toGovState
witsVKeyNeededNoGovernance
towitsVKeyNeededNoGov
witsVKeyNeededGovernance
towitsVKeyNeededGov
utxosGovernance
toutxosGovState
- Filter out zero valued
TxOut
's on Byron/Shelley boundary. - Rename
getProducedValue
toshelleyProducedValue
- Change the constraints on
produced
andevaluateTransactionBalance
- Add
lsCertStateL
- Make new
Constitution
datatype #3556- Adopt some Default instances for example SafeHash
- Add new methods to
EraGovernance
:curPParamsGovStateL
prevPParamsGovStateL
- Rename
ShelleyPPUPState
toShelleyGovState
- Add new fields to
ShelleyGovState
:sgovPp
sgovPrevPp
- Add lenses:
proposalsL
futureProposalsL
esAccountStateL
esSnapshotsL
esNonMyopicL
- Remove
esPrevPp
andesPp
fromEpochState
- Rename
esPrevPpL
toprevPParamsEpochStateL
- Rename
esPpL
tocurPParamsEpochStateL
- Swap the order of
esSnapshots
andesLState
inEpochState
- Add lenses:
lsCertStateL
utxosStakeDistrL
utxosDonationL
utxosUtxoL
utxosDepositedL
esAccountStateL
asTreasuryL
asReservesL
- Add implementation for
spendableInputsTxBodyL
- Fix an issue with where
witsVKeyNeededNoGovernance
andwitsVKeyNeeded
required witnesses forallInputsTxL
, which affected reference inputs in Babbage.
- Add
getConstitutionHash
toEraGovernance
#3506- Also add
nesEpochStateL
toLedgerState.Types
- Also add
- Deprecated
updateTxBodyG
- Changed the argument types of
witsVKeyNeeded
- Changed the signature of
validateNeededWitnesses
- Added
witsVKeyNeededGovernance
andwitsVKeyNeededNoGovernance
- Added protocol version bound to
STS (ShelleyUTXOW era)
instancetransitionRulesUTXOW
witsVKeyNeeded
- Prevent using
getMirTxCert
from being used in eras after Babbage. This also affects all functions that use it - Prevent using
mkGenesisDelegTxCert
,getGenesisDelegTxCert
andGenesisDelegTxCert
from being used in eras after Babbage. This also affects all functions that use those functions and patern synonym - Remove
WrongCertificateTypePOOL
as an impossible case.
- Deprecated
poolSpec
function - Deprecated
Cardano.Ledger.Shelley.Delegation.Certificates
andCardano.Ledger.Shelley.Delegation.PoolParams
modules - Added
Cardano.Ledger.Shelley.TxCert
module - Make
DCert
parameterized onera
instead ofc
rypto and rename it asShelleyTxCert
:DCertDelegCert
->ShelleyTxCertDeleg
DCertPool
->ShelleyTxCertPool
DCertGenesis
->ShelleyTxCertGenesis
DCertMir
->ShelleyTxCertMir
- Introduce
TxCert
type family with pattern synonyms and rename the actualDCert
type intoShelleyTxCert
- Introduce
ShelleyEraTxCert
type class. - Add
EraTxCert
andShelleyEraTxCert
instances toShelleyEra
- Remove
certsTxBodyL
andcertsTxBodyG
fromShelleyEraTxBody
. Former migrated toEraTxBody
. - Add helper functions
shelleyTxCertDelegDecoder
,commonTxCertDecoder
,encodeShelleyDelegCert
,encodePoolCert
andencodeConstitutionalCert
- Deprecate:
RegKey
in favor ofShelleyRegCert
DeRegKey
in favor ofShelleyUnRegCert
Delegate
in favor ofShelleyDelegCert
- Addition of
getVKeyWitnessShelleyTxCert
andgetScriptWitnessShelleyTxCert
- Deprecate:
extractKeyHashWitnessSet
in favor ofcredKeyHashWitness
scriptCred
in favor ofcredScriptHash
scriptStakeCred
in favor ofgetScriptWitnessTxCert
requiresVKeyWitness
in favor ofgetVKeyWitnessTxCert
delegCWitness
- no longer used.propWits
- will become an internal function in the future version
validateNeededWitnesses
no longer acceptswitsVKeyNeeded
as an argument.- Move
ConstitutionalDelegCert
fromcardano-ledger-core
asGenesisDelegCert
. - Fixed
NoThunks (ShelleyGenesis c)
instance, as it was incorrectly disallowing thunks in itssgInitialFunds
andsgStaking
fields
- Replace
DPState c
withCertState era
- Parametrize
DState
andPState
by era - Rename
obligationDPState
toobligationCertState
- Rename
keyCertsRefundsDPState
tokeyCertsRefundsCertState
- Rename
totalCertsDepositsDPState
tototalCertsDepositsCertState
- Added new functions to
DELEGS
ruledrainWithdrawals
validateZeroRewards
validateDelegationRegistered
- Disable
TICKF
rule optimization: #3375
- Added a default implementation for
emptyGovernanceState
- Added lenses:
esAccountStateL
esSnapshotsL
esLStateL
esPrevPpL
esPpL
esNonMyopicL
lsUTxOState
lsDPState
utxosUtxo
utxosDeposited
utxosFees
utxosGovernance
utxosStakeDistr
- Added
ToJSON
instance forShelleyTxOut
- Added
ToJSON
instance forAlonzoPParams StrictMaybe
- Added
ToJSON (GovernanceState era)
superclass constraint forEraGovernance
- Added
ToJSON
instance for:ShelleyTxOut
AlonzoPParams StrictMaybe
ProposedPPUpdates
andShelleyPPUPState
AccountState
,EpochState
,UTxOState
,IncrementalStake
andLedgerState
Likelihood
andNonMyopic
RewardUpdate
andPulsingRewUpdate
- Added of
ToJSON
/FromJSON
instances forLogWeight
- Change
totalCertsDeposits
to accept a function that checks for registered pools, rather than theDPState
. UsetotalCertsDepositsDPState
for the previous behavior - Added
getProducedValue
andtotalCertsDepositsDPState
. - Deprecate
evaluateTransactionBalance
- Change types in
StakePoolRetirementWrongEpochPOOL
fromWord64
toEpochNo
- Consolidate all
Arbitrary
instances from the test package to under a newtestlib
. #3285
- First properly versioned release.