Version 5.0.0 #467
mmontin
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
quickCurrencyPolicyV3
andpermanentCurrencyPolicyV3
which should be themost commonly used.
validateTxSkel_
which validates a skeleton and ignores the output.txSkelMintsFromList'
which only allows one redeemer per minting policy.validatorToTypedValidatorV2
walletPKHashToWallet
that retrives a wallet from a pkh. It used to bepresent but somehow disapeared.
txSkelHashedData
the gives all the datum hashes in inputs and reference inputs.and assets will be transferred. However, these withdrawals are not properly
constrained yet.
pcOptPrintLog
, which is a boolean, to turn on or off the logdisplay in the pretty printer. The default value is
True
.attached to redeemers when such input exists. This can be turned on using
txOptAutoReferenceScripts
. If disabled, the helperwithReferenceInput
canbe used on a redeemer to manually attach a reference input (which does not
necessarily have to contain the right reference script).
txOutRefToTxSkelOut
helper to query the mock chain for recreating aTxSkelOut
from aTxOutRef
. This is very useful when usingTweaks
thatneed to pay back an existing output with a slight modification.
modifySpendRedeemersOfTypeTweak
to apply an optionalmodification of all redeemers of a certain type within the skeleton inputs.
Payable
structure to properly define, compose, and later pay, payableelements with
receive
.receive
smart constructor for payments that allows to compose payableelements (datums, values, staking credential and reference scripts) and
associate them to a recipient.
TxSkelOutValue
which encompasses both a value and whether it can be tamperedwith through min ada adjustment. It comes with the constructors
Value
andFixedValue
from thePayable
type.Removed
positivePart
andnegativePart
inValueUtils.hs
. Replaced byApi.split
.PaysPK
,withDatum
...). Replaced byreceives
.txOptEnsureMinAda
, replaced by a field ofTxSkelOutValue
Changed
supported script purpose (minting, spending or proposing).
constructors:
someTxSkelRedeemer
,emptyTxSkelRedeemer
mkProposingScript
changed tomkScript
withDatumHashed
changed towithUnresolvedDatumHash
paysScriptDatumHashed
changed topaysScriptUnresolvedDatumHash
txSkelInputData
changed totxSkelInputDataAsHashes
resolved datum).
StagedMockChain
runsMonadBlockChainBalancing
cooked-validators
AddInputsAndOutputs.hs
has been split intoInputs.hs
,Outputs.hs
and
Mint.hs
. FileTamperDatum.hs
has been updated and integrated intoOutput.hs
.Skeleton.hs
has been split into sub-files in theSkeleton
folder.MonadMockChainBalancing
.MockChain
.Fixed
version (V1 and V2).
in the excess.
stored in the MockChain.
This discussion was created from the release Version 5.0.0.
Beta Was this translation helpful? Give feedback.
All reactions