Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Conversation

@jdubpark
Copy link
Contributor

@jdubpark jdubpark commented Feb 9, 2024

PR #74 added an extra path to register IPAssets. It checks for token ownership for the caller in an internal function called by both the registration module and IPAssetRegistry. If a user calls through the registration module to register an IPAsset, the registration module becomes the msg.sender when checked in the internal function in IPAssetRegistry.

Hence, we remove the check in the internal function and pull it out to each register function in IPAssetRegistry as a temporary solution to make the new changes in IPAssetRegistry backward compatible.

@jdubpark jdubpark force-pushed the registration-module-backward-compatibility branch from 0ef1985 to c7f1d96 Compare February 9, 2024 08:58
Copy link
Contributor

@Ramarti Ramarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdubpark jdubpark merged commit 9a555bf into storyprotocol:main Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants