ValueNotConservedUTxOValidator
scalus.cardano.ledger.rules.ValueNotConservedUTxOValidator
object ValueNotConservedUTxOValidator extends Validator
This is Shelley.validateValueNotConservedUTxO
consumed pp utxo txb = produced pp poolParams txb
Both sides are summed and compared exactly, as the ledger's Integer does: a transaction can make a Long sum wrap around to the other side's total. The error reports amounts beyond the Long range as Long.MaxValue or Long.MinValue.
Attributes
- Graph
-
- Supertypes
- Self type
Members list
In this article