This repository was archived by the owner on Dec 2, 2024. It is now read-only.
What's Changed
The most important changes of this release are the removal of Tx type and related functions, switching to cardano-api library for transaction manipulation and new a nix flake-based infrastructure.
📦 cardano-node-emulator
Removed
- Removed
OpenApi.ToSchemainstance forSlotConfig. - Remove
estimateTransactionFee,signTx,fromPlutusTx,fromPlutusTxSigned,fromPlutusTxSigned'as theTxwas removed fromplutus-ledger.
Changed
- The default utxo provider for balancing now selects bigger inputs first when adding new inputs, to reduce the number of inputs.
This was in particular a problem for collateral inputs, of which there can only be 3.
📦 cardano-streaming
Added
- Fold blocks into ledger state at client side using local chainsync protocol, both pipelined and non-pipelined versions are provided.
📦 freer-extras
Removed
- Removed
OpenApi.ToSchemainstance forPageQuery a,PageSize, andPage a.
📦 plutus-chain-index-core
Added
- Added missing orphan
OpenApi.ToSchemainstances.
Changed
- Moved to using the
Valuetype fromcardano-apiinstead of the one fromplutus-core.
📦 plutus-contract
Removed
- The
Plutus.Contract.Walletmodule has benn moved to theplutus-pabpackage
under theCardano.Wallet.LocalClient.ExportTx. EmulatorAssertionContractErrorandTxConstraintResolutionContractError
were removed fromContractError.- Removed
OpenApi.ToSchemainstance forPABReq,ChainIndexQuery,ActiveEndpoint,RequestID,IterationID,Request a,ThreadToken,Wallet,WalletId,TxKey,SequenceId,DereferencedInput,BeneficialOwner,AnnotatedTx,ContractInstanceId,ContractActivityStatus,EndpointDescription.
Added
- A set of functions were added to submit a cardano
Txfrom a a set of
constraints:subCardanoTx,subCardanoTxConstraints,
subCardanoTxConstraintsPending,subCardanoTxConstraintsWith,
andmkCardanoTxConstraints. walletFundsChangePlutus: A version ofwalletFundsChangethat works withplutus-coreValues.plutusValueAtAddress: A version ofvalueAtAddressthat works withplutus-coreValues.
Changed
- The
getUnspentOutputfunction that was in thePlutus.Contract.Wallet
module is now inPlutus.Contract.Request. - Moved to using the
Valuetype fromcardano-apiinstead of the one fromplutus-core. plutus-ledger-constraintswas replaced withplutus-tx-constraints.
📦 plutus-ledger
Removed
- Removed
OpenApi.ToSchemainstance for a lot of ledger, plutus and cardano types. - Moved
Ledger.ValuetoPlutus.Scripts.Utils.Value - Moved
Ledger.AdatoPlutus.Scripts.Utils.Ada - Remove
unspentOutputsTxandspentOutputs. - Remove
cardanoApiTx,emulatorTx,onCardanoTx,cardanoTxMap,addSignature,addSignature',txOutRefs,unspentOutputsTx,txId. - Remove
CardanoTx(EmulatorTx, CardanoApiTx). - Remove
toCardanoTxBody,toCardanoTxBodyContent,toCardanoTxInWitness,toCardanoMintValue. - Remove
TxandTxStrippedtypes and all related functions.
Added
- Added
Ledger.Value.CardanoAPIfor working with theValuetype fromcardano-api.
Changed
- Moved to using the
Valuetype fromcardano-apiinstead of the one fromplutus-core. - Renamed
SomeCardanoApiTx(SomeTx)toCardanoTx(CardanoTx). - Renamed
CardanoApiEmulatorEraTxtoCardanoEmulatorEraTx.
📦 plutus-pab-executables
Removed
- Removed dependency on playground-common and everything that depended on it
- Removed Plutus.PAB.Run.PSGenerator
Changed
plutus-ledger-constraintswas replaced withplutus-tx-constraints.
📦 plutus-pab
Removed
- Removed dependency on playground-common and everything that depended on it.
- Plutus.PAB.Effects.Contract: removed exportSchema and endpointsToSchemas
Added
-
The
Cardano.Wallet.LocalClient.ExportTxmodule (previously
Plutus.Contract.Walletinplutus-contract) was added. -
Added a lot of missing
OpenApi.ToSchemainstances.
Changed
plutus-ledger-constraintswas replaced withplutus-tx-constraints.
📦 plutus-script-utils
Added
- Moved
Ledger.ValuetoPlutus.Scripts.Utils.Value - Moved
Ledger.AdatoPlutus.Scripts.Utils.Ada
📦 plutus-tx-constraints
Removed
- Remove
UnbalancedEmulatorTxandunBalancedTxTxas theTxwas removed fromplutus-ledger.
Added
- Added the lacking types and functions from
plutus-ledger-constraintsincluding following modules:Ledger.Tx.Constraints.OnChain.V1Ledger.Tx.Constraints.OnChain.V2Ledger.Tx.Constraints.TxConstraints
New Contributors
- @RubensGitHub made their first contribution in #912
Full Changelog: v1.1.0...v1.2.0