Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Marketplace Ownership Check #54

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

ernanirst
Copy link
Contributor

ERC-721 Marketplace was checking if the NFT was deposited in the roles registry in order to create the rental offer. However, GLMR Jungle NFTs use ERC-4907 and are deposited on another contract. Simply removing this check and ensuring the ERC-7432 ownerOf is used should be enough to check if sender owns the NFT.

@ernanirst ernanirst requested a review from EduardoMelo00 June 17, 2024 19:58
Copy link
Contributor

@EduardoMelo00 EduardoMelo00 left a comment

Choose a reason for hiding this comment

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

Done

@ernanirst ernanirst merged commit e663e74 into master Jun 17, 2024
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.

2 participants