Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR factors the stake-meta JSON output types out of meta_merkle_tree into a new lightweight crate (jito-stake-meta-types) so other services can consume the output schema without pulling in the heavier merkle-tree/restaking dependency graph.
Changes:
- Added new
stake_meta_typescrate containingStakeMetaCollectionand related serde types + pubkey string (de)serialization helper. - Updated
meta_merkle_treeto re-export these types fromgenerated_merkle_tree.rsto keep a single consumer-facing source. - Wired the new crate into the workspace (
Cargo.toml) and updated dependencies/lockfile accordingly.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| stake_meta_types/src/lib.rs | Introduces the extracted output types and JSON file helpers (load/write) plus pubkey string serde module. |
| stake_meta_types/Cargo.toml | Defines the new crate package metadata and minimal dependencies. |
| meta_merkle_tree/src/generated_merkle_tree.rs | Removes in-file type definitions and re-exports jito_stake_meta_types equivalents for existing consumers. |
| meta_merkle_tree/Cargo.toml | Adds dependency on jito-stake-meta-types. |
| Cargo.toml | Adds the new crate to workspace members and workspace dependencies. |
| Cargo.lock | Records the new package and dependency graph updates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ypes # Conflicts: # Cargo.lock # Cargo.toml
hash-envy
marked this pull request as ready for review
August 17, 2026 19:23
Closed
Contributor
Author
|
NOTE: Should NOT be merged in until jito-solana counterpart service is merged in |
ebatsell
previously approved these changes
Sep 2, 2026
ebatsell
approved these changes
Sep 16, 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.
Supports the new
jito-solana/jito-tip-router-snapshot-serviceflag and uses a file-watcher to wait for stake-meta generation instead of creating it via snapshot.Additionally, rips out the stake-meta types into their own package