Skip to content

Add get_shares(id) returning just the shares vector#360

Open
BernardOnuh wants to merge 1 commit into
tributary-protocol:mainfrom
BernardOnuh:feat/get-shares-104
Open

Add get_shares(id) returning just the shares vector#360
BernardOnuh wants to merge 1 commit into
tributary-protocol:mainfrom
BernardOnuh:feat/get-shares-104

Conversation

@BernardOnuh

Copy link
Copy Markdown
Contributor

Closes #104

Adds get_shares(id) -> Result<Vec, Error> that returns only the shares vector without loading the full Split struct.

  • New function get_shares in lib.rs:595-597
  • Two tests: get_shares_returns_only_shares and get_shares_panics_on_missing_split
  • All 57 tests passing
  • cargo fmt and cargo clippy --all-targets -- -D warnings clean

@BernardOnuh
BernardOnuh requested a review from Spagero763 as a code owner July 21, 2026 19:25
@Spagero763
Spagero763 enabled auto-merge (squash) July 21, 2026 21:27
@Spagero763

Copy link
Copy Markdown
Contributor

@BernardOnuh kindly resolve conflictrs

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.

Add get_shares(id) returning just the shares vector

2 participants