diff --git a/geniusyield-dex-api/CHANGELOG.md b/geniusyield-dex-api/CHANGELOG.md index 5d7cbc3..03df31c 100644 --- a/geniusyield-dex-api/CHANGELOG.md +++ b/geniusyield-dex-api/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for geniusyield-dex-api +## 0.3.1.0 -- 2024-06-06 + +* Adds a fix to earlier `0.3.0.0`, to actually consider `poiRawDatum` as witness. + ## 0.3.0.0 -- 2024-06-05 * Updates to make use of latest Atlas commit, `1c20f2a65de8e087b495d1f3ad524d6e659167ad`. diff --git a/geniusyield-dex-api/geniusyield-dex-api.cabal b/geniusyield-dex-api/geniusyield-dex-api.cabal index ee20edd..fd457c1 100644 --- a/geniusyield-dex-api/geniusyield-dex-api.cabal +++ b/geniusyield-dex-api/geniusyield-dex-api.cabal @@ -4,7 +4,7 @@ name: geniusyield-dex-api -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.3.0.0 +version: 0.3.1.0 synopsis: API code to interact with GeniusYield DEX. description: API code to interact with GeniusYield DEX. Learn more about GeniusYield by visiting https://www.geniusyield.co/. diff --git a/geniusyield-dex-api/src/GeniusYield/Api/Dex/PartialOrder.hs b/geniusyield-dex-api/src/GeniusYield/Api/Dex/PartialOrder.hs index 4ca0ae6..7b1dd70 100644 --- a/geniusyield-dex-api/src/GeniusYield/Api/Dex/PartialOrder.hs +++ b/geniusyield-dex-api/src/GeniusYield/Api/Dex/PartialOrder.hs @@ -302,7 +302,7 @@ partialOrderInfoToIn a pocVersion pors oi@PartialOrderInfo {..} oa = gyTxInWitness = GYTxInWitnessScript (GYInReference porValRef $ validatorToScript $ partialOrderValidator a pocVersion porRefNft) - (datumFromPlutusData $ partialOrderInfoToPartialOrderDatum oi) + poiRawDatum $ redeemerFromPlutusData oa } diff --git a/geniusyield-server-lib/CHANGELOG.md b/geniusyield-server-lib/CHANGELOG.md index b9200e7..444620e 100644 --- a/geniusyield-server-lib/CHANGELOG.md +++ b/geniusyield-server-lib/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for geniusyield-server-lib +## 0.5.1 -- 2024-06-06 + +* Incorporates 0.3.1.0 of `geniusyield-dex-api`. + ## 0.5.0 -- 2024-06-05 * Makes use of latest `geniusyield-dex-api` version, namely, v0.3.0.0. It includes a fix where original UTxO's datum bytes are used to provide for witness. diff --git a/geniusyield-server-lib/geniusyield-server-lib.cabal b/geniusyield-server-lib/geniusyield-server-lib.cabal index af834ce..3fe8e0b 100644 --- a/geniusyield-server-lib/geniusyield-server-lib.cabal +++ b/geniusyield-server-lib/geniusyield-server-lib.cabal @@ -1,6 +1,6 @@ cabal-version: 3.6 name: geniusyield-server-lib -version: 0.5.0 +version: 0.5.1 synopsis: GeniusYield server library description: Library for GeniusYield server. license: Apache-2.0