Skip to content

Commit

Permalink
- Update the CHANGELOG (note on plutus conversions)
Browse files Browse the repository at this point in the history
- update dependency versions
  • Loading branch information
klntsky committed May 5, 2024
1 parent 2a12b31 commit 5de12f9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ See the [cardano-purescript repo](https://github.com/klntsky/cardano-purescript)

These packages maintain their own public API, so the interfaces you should use are not necessarily namespaced under `Contract.*` anymore. E.g. `Cardano.Types.*` from `purescript-cardano-types` is public.

Starting from this version, CTL does not use Plutus-domain types anymore. There are no more Plutus domain <-> Cardano domain conversion functions. This change comes with some downsides (e.g. the need to provide NetworkId in `Address`es), but the benefit of not caring about conversions for basic functionality will hopefully be more noticeable.
Starting from this version, CTL does not use Plutus-domain types anymore. This change comes with some downsides (e.g. the need to provide NetworkId in `Address`es), but the benefit of not caring about conversions for basic functionality will hopefully be more noticeable. The only case when a conversion is needed is when the developer wants to use [`purescript-plutus-types`](https://github.com/mlabs-haskell/purescript-plutus-types), which is a package that offers `PlutusData` encodings compatible with Plutus. Its main purpose is to be used when there is a need to apply arguments to parametrized scripts.

### Added

Expand Down
4 changes: 2 additions & 2 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ let additions =
, "tuples"
]
, repo = "https://github.com/mlabs-haskell/purescript-plutus-types"
, version = "143902b37e218d843b9da473553ecf50686934cb"
, version = "v1.0.1"
}
, cardano-types =
{ dependencies =
Expand Down Expand Up @@ -362,7 +362,7 @@ let additions =
, "unsafe-coerce"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-types"
, version = "v1.0.0"
, version = "v1.0.1"
}
, cardano-message-signing =
{ dependencies =
Expand Down
12 changes: 6 additions & 6 deletions spago-packages.nix

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

4 changes: 2 additions & 2 deletions templates/ctl-scaffold/packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ let additions =
, "tuples"
]
, repo = "https://github.com/mlabs-haskell/purescript-plutus-types"
, version = "143902b37e218d843b9da473553ecf50686934cb"
, version = "v1.0.1"
}
, cardano-types =
{ dependencies =
Expand Down Expand Up @@ -362,7 +362,7 @@ let additions =
, "unsafe-coerce"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-types"
, version = "v1.0.0"
, version = "v1.0.1"
}
, cardano-message-signing =
{ dependencies =
Expand Down
12 changes: 6 additions & 6 deletions templates/ctl-scaffold/spago-packages.nix

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

0 comments on commit 5de12f9

Please sign in to comment.