archethic-node
archethic-node copied to clipboard
Smart Contracts: validate_recipients should return a more precise error
We actually return :invalid_recipients_execution
when the validate_recipients
fails.
This is not practical because there can be many reasons behind that:
- transaction's condition does not pass
- contract inherit's condition does not pass
- contract has no funds
- contract fails
- contract produced an invalid transaction (size) ...
We should return more precise errors.
Related to #965
Epic: #257