Skip to content

Add error handling for platform data key ownership in CampaignInfo contract#28

Open
mahabubAlahi wants to merge 1 commit intooz-audit-fixesfrom
oz-fix-issue-40
Open

Add error handling for platform data key ownership in CampaignInfo contract#28
mahabubAlahi wants to merge 1 commit intooz-audit-fixesfrom
oz-fix-issue-40

Conversation

@mahabubAlahi
Copy link
Collaborator

  • Introduced a new error, CampaignInfoPlatformDataKeyNotOwnedByPlatform, to handle cases where a platform data key is not owned by the platform being updated.
  • Updated the relevant function to revert with this error if the ownership check fails.

…ntract

- Introduced a new error, CampaignInfoPlatformDataKeyNotOwnedByPlatform, to handle cases where a platform data key is not owned by the platform being updated.
- Updated the relevant function to revert with this error if the ownership check fails.
@mahabubAlahi mahabubAlahi self-assigned this Mar 3, 2026
@mahabubAlahi mahabubAlahi added the enhancement New feature or request label Mar 3, 2026
@mahabubAlahi mahabubAlahi changed the base branch from main to oz-audit-fixes March 3, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant