Skip to content
Closed
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 @@ -90,12 +90,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

### Changed

- `cardano-serialization-lib` has been updated to `v13.2.0` ([#1656](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1656))
- `cardano-serialization-lib` was replaced by `cardano-data-lite` v1.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))

## [v9.3.1]

Expand Down
7 changes: 4 additions & 3 deletions flake.lock

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

5,340 changes: 3,882 additions & 1,458 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"license": "MIT",
"dependencies": {
"@mlabs-haskell/cardano-message-signing": "^1.0.1",
"@mlabs-haskell/cardano-serialization-lib-gc": "13.2.0",
"@mlabs-haskell/cardano-data-lite": "0.1.0-prerelease7",
"@mlabs-haskell/json-bigint": "2.0.0",
"@mlabs-haskell/uplc-apply-args": "1.0.29-alpha",
"@noble/secp256k1": "^1.7.0",
Expand Down Expand Up @@ -62,7 +62,8 @@
"node-polyfill-webpack-plugin": "2.0.1",
"webpack": "5.88.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1"
"webpack-dev-server": "4.15.1",
"@mlabs-haskell/cardano-serialization-lib-gc": "13.2.0"
},
"prettier": {
"arrowParens": "avoid",
Expand Down
31 changes: 15 additions & 16 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ let additions =
, repo = "https://github.com/mlabs-haskell/purescript-bytearrays"
, version = "v1.0.0"
}
, cardano-serialization-lib =
, cardano-data-lite =
{ dependencies =
[ "aeson"
, "aff"
Expand All @@ -212,9 +212,8 @@ let additions =
, "tuples"
, "unsafe-coerce"
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-serialization-lib"
, version = "v3.0.0"
, repo = "https://github.com/mlabs-haskell/purescript-cardano-data-lite"
, version = "350d36bed5338298cb5317ebe2dad9532811ea0d"
}
, cardano-plutus-data-schema =
{ dependencies = [ "prelude" ]
Expand Down Expand Up @@ -250,7 +249,7 @@ let additions =
, "tuples"
]
, repo = "https://github.com/mlabs-haskell/purescript-plutus-types"
, version = "v1.0.1"
, version = "b96f3ddb3acee2dae6c16f3552dd50fd6c97acdc"
}
, cip30-mock =
{ dependencies =
Expand All @@ -276,7 +275,7 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-collateral-select"
, version = "v1.0.0"
, version = "fed22134275a4668d9458cbebba566667c4cafe0"
}
, cardano-key-wallet =
{ dependencies =
Expand All @@ -297,13 +296,13 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-key-wallet"
, version = "v2.0.0"
, version = "3d7dd4e1e3dfa04b2d5c81dd857da356c4372ea1"
}
, uplc-apply-args =
{ dependencies =
[ "aff"
, "bytearrays"
, "cardano-serialization-lib"
, "cardano-data-lite"
, "cardano-types"
, "effect"
, "either"
Expand All @@ -322,7 +321,7 @@ let additions =
, "tuples"
]
, repo = "https://github.com/mlabs-haskell/purescript-uplc-apply-args"
, version = "v1.0.0"
, version = "6a1200d7402c9283bafdd2df1828b9b6fd6ecfc0"
}
, cardano-types =
{ dependencies =
Expand All @@ -333,7 +332,7 @@ let additions =
, "bifunctors"
, "bytearrays"
, "cardano-plutus-data-schema"
, "cardano-serialization-lib"
, "cardano-data-lite"
, "control"
, "datetime"
, "effect"
Expand Down Expand Up @@ -372,7 +371,7 @@ let additions =
, "unsafe-coerce"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-types"
, version = "v4.0.0"
, version = "e7cf8f67130af397775c43789f09f1f9aa093dbd"
}
, cardano-message-signing =
{ dependencies =
Expand All @@ -385,11 +384,11 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-message-signing"
, version = "v1.0.0"
, version = "698a0ca76c395a96c84c5955a92a0962e51904cb"
}
, cardano-hd-wallet =
{ dependencies =
[ "cardano-serialization-lib"
[ "cardano-data-lite"
, "cardano-types"
, "console"
, "effect"
Expand All @@ -398,7 +397,7 @@ let additions =
, "uint"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-hd-wallet"
, version = "cc1073ddf8bce72407ef6671e3decb59f422e304"
, version = "1e3aacfb1ea083aed9f1af06a85e367326e03528"
}
, cardano-transaction-builder =
{ dependencies =
Expand All @@ -409,7 +408,7 @@ let additions =
, "bifunctors"
, "bytearrays"
, "cardano-plutus-data-schema"
, "cardano-serialization-lib"
, "cardano-data-lite"
, "cardano-types"
, "console"
, "control"
Expand Down Expand Up @@ -453,7 +452,7 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-transaction-builder"
, version = "v2.0.0"
, version = "4a064fdff00a864c114e2ff7b6655d1cca4adb20"
}
, mote-testplan =
{ dependencies =
Expand Down
2 changes: 1 addition & 1 deletion scripts/import-fixer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ constrs["Value"]="Value"
constrs["Either"]="Left, Right"
constrs["PrivateKey"]="PrivateKey"
constrs["Credential"]="PubKeyHashCredential, ScriptHashCredential"
constrs["Address"]="BaseAddress, ByronAddress, EnterpriseAddress, RewardAddress, PointerAddress"
constrs["Address"]="BaseAddress, ByronAddress, EnterpriseAddress, RewardAddress"
constrs["Proxy"]="Proxy"
constrs["ExUnits"]="ExUnits"
constrs["Transaction"]="Transaction"
Expand Down
72 changes: 36 additions & 36 deletions spago-packages.nix

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

2 changes: 1 addition & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
, "cardano-key-wallet"
, "cardano-message-signing"
, "cardano-plutus-data-schema"
, "cardano-serialization-lib"
, "cardano-data-lite"
, "cardano-transaction-builder"
, "cardano-types"
, "checked-exceptions"
Expand Down
1 change: 0 additions & 1 deletion src/Contract/Address.purs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import Cardano.Types.Address
, ByronAddress
, EnterpriseAddress
, RewardAddress
, PointerAddress
)
) as X
import Cardano.Types.Address (mkPaymentAddress)
Expand Down
2 changes: 1 addition & 1 deletion src/Contract/Test/Assert.purs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ module Contract.Test.Assert

import Prelude

import Cardano.Data.Lite (toBytes)
import Cardano.FromMetadata (fromMetadata)
import Cardano.Serialization.Lib (toBytes)
import Cardano.Types
( Address
, Asset(Asset)
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/BalanceTx/Sync.purs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Ctl.Internal.BalanceTx.Sync

import Prelude

import Cardano.Serialization.Lib (toBytes)
import Cardano.Data.Lite (toBytes)
import Cardano.Types
( TransactionHash
, TransactionInput
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/CardanoCli.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Ctl.Internal.CardanoCli

import Contract.Prelude

import Cardano.Serialization.Lib as CSL
import Cardano.Data.Lite as CSL
import Cardano.Types as Cardano.Types
import Cardano.Types.Address as Cardano.Types.Address
import Cardano.Types.AssetName as Cardano.Types.AssetName
Expand Down
4 changes: 2 additions & 2 deletions src/Internal/Helpers.purs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ import Aeson
, getField
, toString
)
import Cardano.Serialization.Lib (class IsBytes, toBytes)
import Cardano.Serialization.Lib.Internal (class IsCsl)
import Cardano.Data.Lite (class IsBytes, toBytes)
import Cardano.Data.Lite.Internal (class IsCsl)
import Control.Alt ((<|>))
import Control.Monad.Error.Class
( class MonadError
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/MinFee.purs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Ctl.Internal.MinFee (calculateMinFeeCsl) where

import Prelude

import Cardano.Serialization.Lib
import Cardano.Data.Lite
( linearFee_new
, minFee
, minRefScriptFee
Expand Down
Loading