magicblock-labs / magicblock-labs/delegation-program

Remove commit_frequency_ms from MagicBlock Protocol v2

Open
#239 0 comments 0 reactions 1 assignee View on GitHub

@snawaz is already working on this.

Since Sep 15, 2026.

enhancement
Dominant language
Rust
Stars
30
Forks
21
Avg merge
20m
Merged PRs (30d)
1

Description

Goal

Remove commit_frequency_ms from the MagicBlock Protocol v2 program's instruction arguments and delegation state as part of #132.

Why

commit_frequency_ms is not used by MBV or any other project. Users who want regular commits should use the Hydra cranker. Remove the unused field from MagicBlock Protocol v2 rather than retain a setting that has no effect.

Scope
  • Remove the field from v2 delegation arguments and account layouts, including delegation-with-actions and other delegation paths.
  • Remove corresponding initialization and handling; update the v2 API, IDL, instruction builders, fixtures, and documentation to match.
  • Keep v1 interfaces and layouts unchanged; make the v2 layout change explicit so consumers do not interpret v1 data as v2.
  • Verify that v2 delegation works without supplying a commit frequency and that v2 artifacts contain no references to the removed field.

Introducing a replacement scheduling mechanism or changing unrelated delegation behavior is out of scope.

Contributor guide

No contributing guide indexed for this repository

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.