Conversation
This was referenced Jun 23, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jun 23, 2026
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
June 24, 2026 16:22
73c6092 to
3c15947
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
June 25, 2026 19:52
076b715 to
b45cdf8
Compare
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
June 26, 2026 10:36
367c7dc to
5f260c4
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
June 26, 2026 16:33
114bf56 to
4e0fa26
Compare
bmuddha
force-pushed
the
programs
branch
3 times, most recently
from
June 30, 2026 15:56
e26900b to
7921abb
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
June 30, 2026 21:16
756dc43 to
63b2969
Compare
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
July 1, 2026 20:03
11b31fc to
ffefa44
Compare
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
July 16, 2026 20:43
4ae6502 to
6d93fcd
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
July 16, 2026 21:28
067ddca to
ef9cedd
Compare
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
July 16, 2026 21:43
d5a0037 to
ff94259
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
July 16, 2026 22:12
c2448d7 to
f484006
Compare
bmuddha
force-pushed
the
programs
branch
3 times, most recently
from
July 17, 2026 10:19
48f5d00 to
a80df02
Compare
bmuddha
force-pushed
the
programs
branch
2 times, most recently
from
July 17, 2026 20:22
219a70d to
dddc008
Compare
bmuddha
force-pushed
the
processor
branch
2 times, most recently
from
July 18, 2026 12:25
6fff79a to
89f8881
Compare
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
Added the engine's internal program crates: MagicRoot and v42 calculator
implementations with separate interface crates.
Why
Engine account CRUD needs privileged operations ordinary programs cannot perform,
while callers and tests need instruction schemas without depending on execution
implementations.
Part of #4.
Closes #30.
Impact
magic-root-interfacedefinesMagicRootInstructionand instructioncomposition;
magic-root-programprovides the native entrypoint.Patchapplies field changes and balances lamport deltas against the authority;Finalizeloads executable targets into the transaction program cache.Deletemarks accounts closed, whilePostFinalizeinvokes follow-upinstructions after rejecting immutable writable accounts.
runtime and integration tests.
Reviewer notes
MagicRoot is authority-gated: every invocation must be top-level and signed by
the thread-local
AUTHORITY. Authorization and decoding complete before thetarget account is borrowed.
Follow-up
The engine crate registers MagicRoot and exposes account CRUD through these
instructions upstack.