Skip to content

refactor: move shared crank logic into hydra-api::program - #16

Merged
Dodecahedr0x merged 1 commit into
stack/3-idsfrom
stack/4-shared-processor
Aug 26, 2026
Merged

refactor: move shared crank logic into hydra-api::program#16
Dodecahedr0x merged 1 commit into
stack/3-idsfrom
stack/4-shared-processor

Conversation

@Dodecahedr0x

@Dodecahedr0x Dodecahedr0x commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Closes #24

Schedule parsing, tail serialization, follow-up verification and the
sysvar syscalls move behind a new program feature so the upcoming
ephemeral program can reuse them. programs/hydra keeps only the
System-program funding model, delegating to process_{create,trigger,
cancel,close}.

Behaviour-preserving: tests/lib.rs is untouched and all 26 tests pass.


Stack created with GitHub Stacks CLIGive Feedback 💬

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: fedfdb84-fc64-4c9f-b8a2-29c0a467fa85

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from fd5d864 to 8a9b85e Compare August 13, 2026 10:28
@Dodecahedr0x Dodecahedr0x self-assigned this Aug 13, 2026
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from 8a9b85e to f8778c4 Compare August 13, 2026 14:30
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from f8778c4 to a5f2439 Compare August 13, 2026 14:33
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from a5f2439 to 6c85e55 Compare August 13, 2026 14:49
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from 6c85e55 to 408a17f Compare August 13, 2026 15:14
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from 408a17f to f844983 Compare August 13, 2026 17:53
@Dodecahedr0x
Dodecahedr0x marked this pull request as ready for review August 13, 2026 20:35
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from f844983 to a28985e Compare August 24, 2026 09:50
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch 2 times, most recently from dbdbb35 to 961e3f0 Compare August 26, 2026 10:07
Schedule parsing, tail serialization, follow-up verification and the
sysvar syscalls move behind a new `program` feature so the upcoming
ephemeral program can reuse them. programs/hydra keeps only the
System-program funding model, delegating to process_{create,trigger,
cancel,close}.

Behaviour-preserving: tests/lib.rs is untouched and all 26 tests pass.
@Dodecahedr0x
Dodecahedr0x force-pushed the stack/4-shared-processor branch from 961e3f0 to a3c7b9e Compare August 26, 2026 10:12
@Dodecahedr0x
Dodecahedr0x merged commit 30dbeef into main Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crank processor logic would be duplicated across two programs

2 participants