Skip to content

Commit a346694

Browse files
committed
Add ScheduleCommitDiffAndUndelegate
1 parent 36fb2d6 commit a346694

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

magicblock-magic-program-api/src/instruction.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ pub enum MagicBlockInstruction {
9292
/// - **0.** `[SIGNER]` Validator authority
9393
/// - **1.** `[WRITE]` Task context account
9494
ProcessTasks,
95+
96+
ScheduleCommitDiffAndUndelegate,
9597
}
9698

9799
impl MagicBlockInstruction {

programs/magicblock/src/magicblock_processor.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ declare_process_instruction!(
7575
MagicBlockInstruction::ProcessTasks => {
7676
process_process_tasks(signers, invoke_context)
7777
}
78+
MagicBlockInstruction::ScheduleCommitDiffAndUndelegate => {
79+
todo!();
80+
}
7881
}
7982
}
8083
);

0 commit comments

Comments
 (0)