archethic-foundation / archethic-foundation/archethic-node
Smart Contracts: when contract does not output a tx (even if it crash), a transaction should still be created
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem?
Miners should get fees even if a contract does nothing or crash. This is an anti-spam solution.
### Describe the solution you'd like
ps: we probably need to copy the fields from previous transaction
ps: we probably need to change the `get_calls()` function as well
### Additional context
Epic: #608
Contributor guide
Research direction
Start with epic #608 and trace the transaction path relevant to smart contracts that produce no output or crash. Read the existing get_calls() behavior and determine which fields must be copied from the previous transaction. Done means a transaction is still created in these cases so miners can receive fees.
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