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(cachable-nft): fix removing NFT from cache & add cache state getter #116

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

sebsadface
Copy link
Member

Description

This PR fixes an issue where NFT information was not properly removed from the cache after transferFromCache due to incorrect usage of the remove method from EnumerableMap. Additionally, this PR introduces new getter functions to allow viewing the current state of the cache.

Copy link

@kingster-will kingster-will left a comment

Choose a reason for hiding this comment

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

LGTM!. please address comments and merge.

@sebsadface sebsadface merged commit 1a71088 into storyprotocol:main Nov 6, 2024
3 checks passed
@sebsadface sebsadface deleted the fix-cache branch December 4, 2024 05:38
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