Skip to content

fix: vesting schedule locking, validation tests, multiplier auth and audit tests - #752

Merged
ritaifeoluwa merged 2 commits into
SmartDropLabs:mainfrom
thanosmexc:fix/issues-thanosmexc
Nov 23, 2026
Merged

ritaifeoluwa merged 2 commits into
SmartDropLabs:mainfrom
thanosmexc:fix/issues-thanosmexc

Conversation

@thanosmexc

Copy link
Copy Markdown

Summary

Test plan

  • soroban/contracts/vesting-wallet/src/test.rs — 6 new tests for lock_schedule and schedule validation
  • soroban/contracts/farming-pool/src/test.rs — 3 new tests for multiplier approval and audit event

Closes #642, #643, #657, #658

🤖 Generated with Claude Code

…audit tests

Closes SmartDropLabs#657 — VestingWallet.lock_schedule() sets an irreversible ScheduleLocked
flag; is_schedule_locked() reads it. Admin auth required. Calling twice returns
ScheduleAlreadyLocked. Publishes vest/locked event.

Closes SmartDropLabs#642 — Explicit tests verifying that initialize() rejects: start in past,
end <= cliff, and schedules exceeding MAX_VESTING_DURATION_LEDGERS. The validation
logic existed; these tests document and guard it.

Closes SmartDropLabs#658 — Tests verifying set_global_multiplier() requires admin auth
(mock_all_auths path succeeds) and rejects out-of-range values.

Closes SmartDropLabs#643 — Test verifying set_global_multiplier() publishes the boost/mult_set
audit event with (old_multiplier, new_multiplier) data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

👷 Deploy request for sdcontracts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 199dddc

@ritaifeoluwa
ritaifeoluwa merged commit 8d84672 into SmartDropLabs:main Nov 23, 2026
1 of 2 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

3 participants