Skip to content

Add partial contribution support#145

Open
er1c-cartman wants to merge 1 commit into
sorosave-protocol:mainfrom
er1c-cartman:fix-48-partial-contributions
Open

Add partial contribution support#145
er1c-cartman wants to merge 1 commit into
sorosave-protocol:mainfrom
er1c-cartman:fix-48-partial-contributions

Conversation

@er1c-cartman
Copy link
Copy Markdown

Summary:

  • Adds contribute_partial(member, group_id, amount) while preserving existing full contribute() behavior.
  • Tracks cumulative per-member contribution amounts per round.
  • Marks a member complete only once their cumulative amount reaches the group contribution amount.
  • Adds get_member_contribution_progress and regression coverage for partial completion.

Fixes #48.

Validation:

  • cargo test --package sorosave
  • cargo fmt --check
  • cargo clippy --package sorosave --all-targets -- -D warnings
  • git diff --check

Notes:

  • Generated build/test artifacts were not committed.
  • No secrets, tokens, or private runtime data are included.

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.

Implement partial contribution support

1 participant