cashc compiler
- ⚠️ Add warnings when a contract exceeds 201 opcodes or 520 bytes.
- 🐛 Fix a bug where an incorrect number of items were dropped from the stack after execution of a branch.
CashScript SDK
- ✨ Improve error handling.
- Further specified
FailedTransactionError into FailedRequireError, FailedSigCheckError, FailedTimeCheckError and a general fallback FailedTransactionError.
- Add
Reason enum with all possible reasons for a Script failure - can be used to catch specific errors.
- 🔍 Add
instance.opcount and instance.bytesize fields to all contract instances.
- 🐛 Fix a bug where the size of a preimage was not accounted for in fee calculation for covenants.
https://twitter.com/RoscoKalis/status/1217101473743544320