feat(applying): check non-empty set of inputs and outputs (#312)

This commit is contained in:
Maico Leberle 2023-11-03 18:15:17 -03:00 committed by GitHub
parent bf973dff3c
commit 2dca64c4c9
4 changed files with 111 additions and 34 deletions

View file

@ -20,7 +20,6 @@ Refer to the [Byron's ledger white paper](https://github.com/input-output-hk/car
- ***fees: Tx → *** gives the fees paid by a transaction, defined as follows:
- ***fees(tx) := balance (txIns(tx) ◁ utxo) balance (txOuts(tx))***, where
- ***balance : P(TxOut) → *** gives the summation of all the lovelaces in a set of transaction outputs.
- **Serialization**:
- ***Bytes*** is the set of byte arrays (a.k.a. data, upon which signatures are built).
- ***⟦_⟧<sub>A</sub> : A -> Bytes*** takes an element of type ***A*** and returns a byte array resulting from serializing it.