Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Contracts: validate_recipients should return a more precise error #1071

Closed
bchamagne opened this issue Jun 6, 2023 · 2 comments
Closed
Labels
enhancements smart contracts Involve smart contracts

Comments

@bchamagne
Copy link
Contributor

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.

@bchamagne bchamagne added smart contracts Involve smart contracts enhancements labels Jun 6, 2023
@samuelmanzanera
Copy link
Member

Related to #965

@samuelmanzanera
Copy link
Member

Epic: #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements smart contracts Involve smart contracts
Projects
None yet
Development

No branches or pull requests

2 participants