Skip to content

Fix compilation errors: add max_keys_per_wallet parameter to register…#570

Merged
Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
Benedict315:feature/airdrop-skip-wallet-at-cap
Jul 23, 2026
Merged

Fix compilation errors: add max_keys_per_wallet parameter to register…#570
Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
Benedict315:feature/airdrop-skip-wallet-at-cap

Conversation

@Benedict315

Copy link
Copy Markdown
Contributor

This PR fixes compilation errors across the creator-keys test suite by updating all register_creator and try_register_creator function calls to include the newly added seventh parameter max_keys_per_wallet.

Changes:

Added the missing &None argument for max_keys_per_wallet to all register_creator calls in test files
Fixed parameter order in transfer_keys_dividend_preservation.rs where CurvePreset was incorrectly positioned
Updated 307 files across the test suite
Testing:

All compilation errors (E0061) have been resolved
All 200+ tests pass successfully
Codebase compiles cleanly
Context: The register_creator function signature was updated to include a seventh parameter max_keys_per_wallet of type &Option. This change was not reflected in the test files, causing compilation errors. This PR systematically updates all test calls to match the new function signature.

closes #548

@Chucks1093
Chucks1093 merged commit 317930b into accesslayerorg:main Jul 23, 2026
1 check 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

Development

Successfully merging this pull request may close these issues.

Add regression test for per-wallet cap enforced on airdrop recipients

3 participants