Skip to content

Commit a0fa076

Browse files
committed
Changelog entry
Remove some unused definitions Signed-off-by: Sasha Bogicevic <[email protected]>
1 parent dbcdfe2 commit a0fa076

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ changes.
1313
- Fix bug where TUI would have out-of-date head status information in the
1414
presence of event rotation.
1515

16+
- Accept additional field `tokens` when depositing to specify different (non-ADA) assets that should be depositted to a Head returning any leftover to the user.
17+
18+
## [0.22.4] - 2025-08-05
19+
1620
- Accept additional field `amount` when depositing to specify the amount of Lovelace that should be depositted to a Head returning any leftover to the user.
1721

1822
- Hydra API server responds with the correct `Content-Type` header `application-json`.

hydra-node/src/Hydra/API/HTTPServer.hs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Data.ByteString.Short ()
1414
import Data.Text (pack)
1515
import Hydra.API.APIServerLog (APIServerLog (..), Method (..), PathInfo (..))
1616
import Hydra.API.ClientInput (ClientInput (..))
17-
import Hydra.API.ServerOutput (ClientMessage, CommitInfo (..), ServerOutput (..), TimedServerOutput (..), getConfirmedSnapshot, getSeenSnapshot, getSnapshotUtxo)
17+
import Hydra.API.ServerOutput (ClientMessage (..), CommitInfo (..), ServerOutput (..), TimedServerOutput (..), getConfirmedSnapshot, getSeenSnapshot, getSnapshotUtxo)
1818
import Hydra.Cardano.Api (AssetName, Coin, LedgerEra, PolicyAssets, PolicyId, Quantity, Tx)
1919
import Hydra.Chain (Chain (..), PostTxError (..), draftCommitTx)
2020
import Hydra.Chain.ChainState (IsChainState)
@@ -48,10 +48,6 @@ instance Arbitrary tx => Arbitrary (DraftCommitTxResponse tx) where
4848
shrink = \case
4949
DraftCommitTxResponse xs -> DraftCommitTxResponse <$> shrink xs
5050

51-
data CommitDetails
52-
= CommitADA {commitAdaAmount :: Coin}
53-
| CommitMap {commitMap :: Map PolicyId (AssetName, Quantity)}
54-
5551
data DraftCommitTxRequest tx
5652
= SimpleCommitRequest
5753
{ utxoToCommit :: UTxOType tx

0 commit comments

Comments
 (0)