Repository navigation
feat: add read_creator_supply helper, storage key collision tests, and integration tests - #602
Merged
Chucks1093 merged 2 commits intoJul 25, 2026
Conversation
…d integration tests - Add read_creator_supply helper for centralised creator supply reads (accesslayerorg#587) - Add unit tests confirming no two distinct inputs produce the same storage key (accesslayerorg#597) - Add integration test for protocol fee distributed correctly to protocol fee recipient on buy (accesslayerorg#598) - Add integration test for holder balance correctly decremented after a partial sell (accesslayerorg#600)
|
@Lekan101 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! 🚀 |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses four open issues by adding a storage helper, unit tests for key collision prevention, and integration tests for buy/sell fee distribution and partial sell balance tracking.
Changes
Issue #587 — Add helper for reading a creator's current key supply from persistent storage
Issue #597 — Add unit tests for storage key helpers confirming no collisions
Issue #598 — Add integration test for protocol fee distributed correctly on buy
Issue #600 — Add integration test for holder balance correctly decremented after partial sell
Test Results
All 81 unit tests and all new integration tests pass.
Closes #587
Closes #597
Closes #598
Closes #600