archethic-foundation / archethic-foundation/archethic-node
[SC] Support for error reporting in smart contracts
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem?
- wherever during the parsing/interpreting/executing of the contract , if there is an error raise an error
- We should provide better error handling
### Describe the solution you'd like
- we can use try and catch in contracts.ex for error reporting in
- Action.execute
- Contract.parse
### Additional context
Epic: #608
Contributor guide
Research direction
Start by reading contracts.ex, focusing on the Action.execute and Contract.parse entry points named in the issue. Trace how parsing, interpretation, and execution currently report failures, then determine the expected error behavior and coverage needed for each stage. Done means contract errors are consistently surfaced with appropriate reporting across those paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100