Skip to content

feat: support multi-milestone vaults#262

Closed
dangelo352 wants to merge 1 commit into
Disciplr-Org:mainfrom
dangelo352:feature/multi-milestone-220
Closed

feat: support multi-milestone vaults#262
dangelo352 wants to merge 1 commit into
Disciplr-Org:mainfrom
dangelo352:feature/multi-milestone-220

Conversation

@dangelo352

Copy link
Copy Markdown

Summary

  • replace the single milestone hash/boolean with ordered milestone vectors and per-index validation flags
  • update validate_milestone to validate a specific index with duplicate/out-of-range guards
  • require all milestones for pre-deadline release while preserving deadline-based release and redirect behavior
  • document the multi-milestone model and update the interface mapping

Tests

  • cargo fmt --check
  • cargo test --test multi_milestone -- --nocapture
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings

Closes #220

@1nonlypiece

Copy link
Copy Markdown
Contributor

hey, good work, but this can't go in until you're assigned to #220 — that's our process to avoid two people on the same thing. closing for now; claim the issue first and re-raise. https://discord.gg/xvNAvMJf

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.

Support multiple milestones per vault in create_vault and validate_milestone

2 participants