Skip to content

Optimize-WASM-Contract-Size-and-Resource-Footprint#87

Open
bakarezainab wants to merge 25 commits into
StellarGrant:mainfrom
bakarezainab:Optimize-WASM-Contract-Size-and-Resource-Footprint
Open

Optimize-WASM-Contract-Size-and-Resource-Footprint#87
bakarezainab wants to merge 25 commits into
StellarGrant:mainfrom
bakarezainab:Optimize-WASM-Contract-Size-and-Resource-Footprint

Conversation

@bakarezainab
Copy link
Copy Markdown
Contributor

Task Done

close #30

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Mar 27, 2026

@bakarezainab 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

Mrwicks00 and others added 23 commits March 27, 2026 12:46
- Introduced `milestone_submit_batch` method to allow multiple milestone submissions in a single transaction.
- Added `MilestoneSubmission` struct to encapsulate milestone details for batch processing.
- Updated existing milestone submission logic to handle batch submissions and included necessary validation checks.
- Enhanced tests to cover batch submission scenarios, ensuring correct state and data integrity for submitted milestones.

Closes StellarGrant#79
- Implemented a reentrancy guard in the `StellarGrantsContract` to prevent reentrant calls during token transfers for grant funding and staking.
- Updated the `reentrancy` module to provide a lock mechanism using temporary storage.
- Enhanced tests to validate reentrancy protection, including scenarios for funding grants and staking reviews.
- Added new test cases to ensure proper handling of reentrant calls and prevent potential exploits.

Closes StellarGrant#75
@bakarezainab bakarezainab force-pushed the Optimize-WASM-Contract-Size-and-Resource-Footprint branch from 5693d38 to d3cc0f0 Compare March 27, 2026 11:51
@bakarezainab bakarezainab force-pushed the Optimize-WASM-Contract-Size-and-Resource-Footprint branch from db1e30f to ed2deaa Compare March 27, 2026 12:08
@Samuel1505
Copy link
Copy Markdown
Contributor

@bakarezainab please fix merge conflicts

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.

Optimize WASM Contract Size and Resource Footprint

9 participants