archethic-foundation / archethic-foundation/archethic-node
Improve SC interval triggers
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
We have interval-based triggers on the smart contract.
During a new transaction, we check the validity of the trigger time.
However, the check if too strict
https://github.com/archethic-foundation/archethic-node/blob/c6bbb87ea21bfd25f32c02a7ec009ed0717397d5/lib/archethic/contracts.ex#L200-L208
We should provide a more flexible mechanism to support drift in some boundaries.
We also need to provide a mechanism of supporting the node responsiveness delay if some node weren't able to send the transaction on the expected time.
---
Epic: #608
Contributor guide
Research direction
Start with lib/archethic/contracts.ex lines 200-208 and inspect the interval-trigger validity check during transaction processing. Review epic #608 for related context; done means the mechanism supports boundary drift and node responsiveness delays without rejecting valid interval-trigger transactions.
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
- Mostly clear
- Newbie friendliness
- 25/100