magicblock-labs / magicblock-labs/magicblock-validator
Base callback deadlines on slots instead of time
Open
@bzawisto is already working on this.
Since Sep 9, 2026.
enhancement
- Dominant language
- Rust
- Stars
- 58
- Forks
- 58
- Avg merge
- 22h 1m
- Merged PRs (30d)
- 53
Description
## Outcome
Base callback deadlines on slots instead of time.
## Scope
**Problem**
IntentBundles don't have a timestamps of scheduling, nor they shouldn't. Using slots is more natural way here + ScheduledIntentBundle stores it.
**Proposed Solution**
Replace actions_timeout: Duration, with starting point from `ScheduledIntentBundle::slot` + add number of slots it can leave without TIMEOUT. Define custom timer
## Acceptance criteria
- [ ] The outcome is implemented and validated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.