Skip to content

Commit

Permalink
Merge pull request #72 from geniusyield/fix-orig-dat-bytes
Browse files Browse the repository at this point in the history
fix: use `poiRawDatum` inside `partialOrderInfoToIn` function instead
  • Loading branch information
brunjlar authored Jun 7, 2024
2 parents b3dd99d + e842963 commit c30b532
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions geniusyield-dex-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion geniusyield-dex-api/geniusyield-dex-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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/.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 4 additions & 0 deletions geniusyield-server-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion geniusyield-server-lib/geniusyield-server-lib.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c30b532

Please sign in to comment.