magicblock-labs / magicblock-labs/magicblock-validator

Base callback deadlines on slots instead of time

Open
#1,367 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.