0.11.0
Pre-releaseRelease to complete the L2 ledger isomorphism by supporting timed transactions and functional changes related to committing funds to a Hydra Head. Notably, external commits should be used now and this release does deprecate the "internal commits" feature.
Built artifacts
Hydra Scripts
Transaction IDs to be used as --hydra-scripts-tx-id when running hydra-node on the following networks:
-
preview:90acbeb0ebece3b5319625eedca3f6514870c9414872d9e940c6b7d7b88178fdchecked in smoke test #111 -
preprod:010f68ad75cda7983b68a7691ba1591fa9ce4cfc03ac35d1c6c90cae4b48f849checked in smoke test #116 (see also #960) -
mainnet:eb4c5f213ffb646046cf1d3543ae240ac922deccdc99826edd9af8ad52ddb877checked in smoke test #117
This release contains breaking changes of the persistence and on-chain scripts
and you'll need to apply the following procedure to upgrade all the nodes
running a head:
- Close the head
- Stop
hydra-node - Remove persistent files stored in
--persistence-dir, in particular
server-outputandstate - Upgrade
hydra-nodeversion - Start new
hydra-nodeversion with new--hydra-scriptx-tx-idand updated
command line options. - Open a new head
-
BREAKING Allow to commit multiple
UTxO#774- This changes
hydra-plutusscripts to allow commit transactions which spend multiple UTxOs into a Hydra head. - Removes the
MoreThanOneUTxOCommittedserver output on the API.
- This changes
-
Suport commits from external wallets #215
- Added the
/commitHTTP endpoint to thehydra-nodefor creating a draftcommittransaction to commit requested UTxO into a head. This transaction can be signed and submitted to the network by the hydra client now instead ofhydra-node. - Commits via
/commitalso allow to commit scripts into a Hydra Head. For that, the UTxO entry in the HTTP request needs to provide awitnesswith scrpit, datum, and redeemer to be used. - Removed the need to mark fuel when using external commits. Fees for Hydra protocol transactions are paid the largest UTxO held by the internal wallet if no marked fuel UTxO is present.
- BREAKING The
hydra-tuinow uses the--cardano-signing-keyto select and commit "external funds" to the Hydra Head. If you have used this in the past, make sure to not use the same key as also given to thehydra-node.
- Added the
-
DEPRECATED the
Commitcommand to commit funds held by thehydra-nodeinternal wallet. Use the external commit feature instead. -
Make
hydra-nodesupport time bounded transactions #196- The
hydra-nodetracks time as seen on-chain and uses that to validate any transactions, which can now use validity ranges the same way as on the layer 1. - Added current chain slot and time to log outputs.
- The
-
BREAKING API output
SnapshotConfirmedonly includes transaction ids. #922 -
BREAKING Changed to the persisted state by removing the plutus scripts from the internal chain state and adding the
headId.- Only the
seedTxInparameter is stored and thehydra-nodewill use the script compiled into it instead. - This substantially decreases the size of persisted and logged data.
- Only the
-
BREAKING Changed the
hydra-nodecommand line options: -
Fixed a bug where
hydra-noderesets head state when replaying close of another head. #927 -
Fixed a bug where
hydra-nodereports a wrong head status onGreetingsafter restart. #932 -
Decreased verbosity of logs #849
BeginEvent/EndEventandBeginEffect/EndEffectlog items are now paired using a numericeventIdandeffectId.- Repurpose
log-filterexecutable to compute duration of events and effects.
Full Changelog: 0.10.0...0.11.0
New Contributors:
- @Agustinblockchain made their first contribution in #866
- @uhbif19 made their first contribution in #918
Other contributors to this release: @abailly-iohk @ch1bo @v0d1ch @ffakenz @pgrange