Skip to content

fix(farming-pool, vesting-wallet): boost config, pause guard, cliff test, wasm hash query - #431

Merged
ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
ikechi-woke:fix/issues-411-412-413-414
Sep 27, 2026
Merged

ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
ikechi-woke:fix/issues-411-412-413-414

Conversation

@ikechi-woke

Copy link
Copy Markdown

Summary

Closes #413, Closes #412, Closes #411, Closes #414

Test plan

  • Verify get_boost_config returns the checkpointed multiplier from the user's stake, not the current global multiplier
  • Verify set_boost rejects calls when the pool is paused (already covered by require_staking_not_paused)
  • Run test_release_immediately_after_cliff — confirms cliff boundary behavior
  • Verify pool_wasm_hash returns the correct WASM hash after initialization

…rd, and cliff release test

- Return the user's checkpointed multiplier from get_boost_config instead
  of the live global multiplier, consistent with credit accrual (SmartDropLabs#413)
- Confirm set_boost is already guarded by require_staking_not_paused
  which checks the general pause flag (SmartDropLabs#411)
- Add test_release_immediately_after_cliff covering release at the exact
  cliff boundary (SmartDropLabs#412)
- Verify pool_wasm_hash query already works correctly with proper guards
  and documentation (SmartDropLabs#414)

Closes SmartDropLabs#413, Closes SmartDropLabs#412, Closes SmartDropLabs#411, Closes SmartDropLabs#414
@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@ikechi-woke Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@netlify

netlify Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sdcontracts ready!

Name Link
🔨 Latest commit a45b140
🔍 Latest deploy log https://app.netlify.com/projects/sdcontracts/deploys/6ab979762ecf420008f7703e
😎 Deploy Preview https://deploy-preview-431--sdcontracts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ritaifeoluwa
ritaifeoluwa merged commit 8cba88c into SmartDropLabs:main Sep 27, 2026
4 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