Use curried signature for UTxO.singleton (#1983)
This is the same signature as Data.Map
This is the same signature as Data.Map
plutus: 1.45.0.0
plutus: 1.45.0.0
plutus: 1.45.0.0
`performDecommit` would observe the wrong `DecommitFinalized` message in presence of rollbacks.
This will allow chain observers to use these valueu directly without further conversion to 'OnChainTx'. The latter will be the hydra-node specific type which contains already converted time fields. The change here is incomplete as HeadObservation is missing several instances and breaks the explorer API.
This was helpful during debugging (until we have a proper GET /deposits).
This will mark the creation of the deposit.
This will allow chain observers to use these valueu directly without further conversion to 'OnChainTx'. The latter will be the hydra-node specific type which contains already converted time fields. The change here is incomplete as HeadObservation is missing several instances and breaks the explorer API.
This will mark the creation of the deposit.
By adding Enum, Num and Integral instances we can easily create, compute and convert contestation periods. The same pitfalls as with Natural do exist. This also moves the specs to the hydra-tx package (where the data type is).
This is now using the default period unless overridden.