Skip to content

fix: resolve issues #120 #121 #122 #123#165

Open
icentedward76-sketch wants to merge 1 commit into
OpenLedger-Foundation:mainfrom
icentedward76-sketch:fix/issues-120-121-122-123
Open

fix: resolve issues #120 #121 #122 #123#165
icentedward76-sketch wants to merge 1 commit into
OpenLedger-Foundation:mainfrom
icentedward76-sketch:fix/issues-120-121-122-123

Conversation

@icentedward76-sketch
Copy link
Copy Markdown

#120/#121 - Enhance/implement shared contracts library:

  • Fix duplicate ReentrancyGuard struct in reentrancy.rs
  • Clean up lib.rs to only contain module declarations

#122 - Migrate state variables in risk registry:

  • Migrate Admin and InvoiceNft from instance() to persistent() storage
  • Add TTL bumping for Admin and InvoiceNft keys on write

#123 - Refactor treasury contracts:

OpenLedger-Foundation#122 OpenLedger-Foundation#123

OpenLedger-Foundation#120/OpenLedger-Foundation#121 - Enhance/implement shared contracts library:
- Fix duplicate ReentrancyGuard struct in reentrancy.rs
- Clean up lib.rs to only contain module declarations

OpenLedger-Foundation#122 - Migrate state variables in risk registry:
- Migrate Admin and InvoiceNft from instance() to persistent() storage
- Add TTL bumping for Admin and InvoiceNft keys on write

OpenLedger-Foundation#123 - Refactor treasury contracts:
- Add missing WhitelistedToken variant to DataKey enum
- Add missing imports: ReentrancyGuard, require_non_zero_amount
- Remove undefined acquire_lock/release_lock helpers
- Replace manual lock with RAII ReentrancyGuard in withdraw/emergency_withdraw
- Fix double token transfer in emergency_withdraw
- Add bump_persistent helper for consistent TTL management
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@icentedward76-sketch 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant