Skip to content

Commit

Permalink
Add inlineDatumRaw to api.yaml and update changelog
Browse files Browse the repository at this point in the history
This is the intended new schema. Updated versions as API will be
extended.
  • Loading branch information
ch1bo authored and locallycompact committed Oct 8, 2024
1 parent 5862033 commit 3885e31
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ changes.

- Fix the bug where commit endpoint drops withdraw redeemers [#1643](https://github.com/cardano-scaling/hydra/issues/1643)

- Add `inlineDatumRaw` to transaction outputs on the `hydra-node` API.

## [0.19.0] - 2024-09-13

- Tested with `cardano-node 9.1.1` and `cardano-cli 9.2.1.0`
Expand Down
2 changes: 1 addition & 1 deletion hydra-cardano-api/hydra-cardano-api.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-cardano-api
version: 0.19.0
version: 0.20.0
synopsis: A Haskell API for Cardano, tailored to the Hydra project.
author: IOG
copyright: 2022 IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-node/hydra-node.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-node
version: 0.19.0
version: 0.20.0
synopsis: The Hydra node
author: IOG
copyright: 2022 IOG
Expand Down
5 changes: 5 additions & 0 deletions hydra-node/json-schemas/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2421,6 +2421,11 @@ components:
- type: string
contentEncoding: base16
- type: "null"
inlineDatumRaw:
description: |
The 'inlineDatum' in its original cbor encoded form. Useful to
evaluate scripts and calculate script integrity hashes.
$ref: "api.yaml#/components/schemas/Cbor"
datum:
oneOf:
- type: string
Expand Down

0 comments on commit 3885e31

Please sign in to comment.