Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

### Changed

- Replaced cardano-serialization-lib (CSL) with [cardano-data-lite (CDL)](https://github.com/mlabs-haskell/purescript-cardano-data-lite) ([#1678](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1678))
- Bumped [cardano-node to v10.1.4](https://github.com/IntersectMBO/cardano-node/releases/tag/10.1.4) capable of crossing the second Chang hardfork ([#1657](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1657))
- Bumped [Ogmios to v6.8.0](https://github.com/CardanoSolutions/ogmios/releases/tag/v6.8.0) ([#1657](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1657))
- `cardano-serialization-lib` has been updated to `v13.2.0` ([#1656](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1656))
- `QueryHandle` has been renamed to `Provider` ([#1665](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1665))
- `QueryBackend` renamed to `ProviderBackend`
- `QueryBackendParams` renamed to `ProviderBackendParams`
Expand All @@ -118,7 +118,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Fixed

- Fixed transaction witness set 'attach' functions. Previously, the updated witness set was incorrectly appended to the existing set, causing performance degradation when processing constraints for complex transactions. ([#1653](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1653))
- Updating to CSL `v13.2.0` should resolve the issue of occasional transaction script integrity hash mismatches on tx submission ([#1656](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1656))
- Fixed a critical bug where Blockfrost `getUtxo` would also return **spent** outputs ([#1664](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1664))

## [v9.3.1]
Expand Down
2 changes: 1 addition & 1 deletion doc/comparisons.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ Additionally, CTL supports [testing with real wallets](./e2e-testing.md) via hea
Lucid aims for simplicity, while CTL allows more fine-grained control over transaction building process without losing the benefits of declarativeness.

- CTL uses [`cardano-serialization-lib`](https://github.com/Emurgo/cardano-serialization-lib/), while Lucid uses [`Pallas`](https://github.com/txpipe/pallas).
- In CTL, CSL types and method wrappers are used via [`purescript-cardano-serialization-lib`](https://github.com/mlabs-haskell/purescript-cardano-serialization-lib) and [`purescript-cardano-types`](https://github.com/mlabs-haskell/purescript-cardano-types). However, `TxBuilder` APIs from CSL are not provided by these packages.
- In CTL, CDL types and method wrappers are used via [`purescript-cardano-data-lite`](https://github.com/mlabs-haskell/purescript-cardano-data-lite) and [`purescript-cardano-types`](https://github.com/mlabs-haskell/purescript-cardano-types).
- Plutus Data conversion is handled via a [schema-enabled API](https://github.com/spacebudz/lucid/blob/e13206b225edb0e55a7eeb98b1200223e201fbfe/examples/typed_data.ts#L15) in Lucid. CTL allows for automatic `ToData` / `FromData` deriving for some types, via `HasPlutusSchema`.
4 changes: 2 additions & 2 deletions examples/SignData.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// eslint-disable-next-line no-unused-vars
import * as lib from "@mlabs-haskell/cardano-message-signing";
import * as CSL from "@mlabs-haskell/cardano-serialization-lib-gc";
import * as CDL from "@mlabs-haskell/cardano-data-lite";

function opt_chain(maybe, obj) {
const isNothing = x => x === null || x === undefined;
Expand Down Expand Up @@ -94,7 +94,7 @@ export function getSignedData(coseSign1) {
}
export function verifySignature(coseSign1) {
return publicKey => sigStructBytes => () => {
const signature = CSL.Ed25519Signature.from_bytes(coseSign1.signature());
const signature = CDL.Ed25519Signature.from_bytes(coseSign1.signature());
return publicKey.verify(sigStructBytes, signature);
};
}
Expand Down
52 changes: 26 additions & 26 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading