Skip to content

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

Description

@Chucks1093

Summary

When an airdrop is sent to a recipient who is already at the per-wallet cap, that recipient should be skipped rather than reverting the whole airdrop. A regression test should confirm the skip behavior and that other recipients still receive their keys.

Scope

  • Register a creator with a per-wallet cap of 10
  • Give wallet A 10 keys (at the cap)
  • Airdrop 5 keys to wallet A and 5 keys to wallet B in one call
  • Assert wallet A's balance is still 10 (skipped)
  • Assert wallet B received 5 keys

Acceptance Criteria

  • Wallet at cap is skipped, not reverted
  • Other recipients in the same airdrop receive their keys
  • Airdrop summary reflects the skipped recipient

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions