-
Notifications
You must be signed in to change notification settings - Fork 178
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
Adds getIDs()
to NFT program recovery
#6513
Conversation
Are there any other changes I need to make for this? I couldn't see if there were tests anywhere for this that I needed to update. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6513 +/- ##
==========================================
- Coverage 41.28% 41.26% -0.02%
==========================================
Files 2030 2030
Lines 145865 145868 +3
==========================================
- Hits 60221 60197 -24
- Misses 79419 79446 +27
Partials 6225 6225
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I don't think there are any tests testing this specifically. This looks like the only location that needs to change. Someone from @onflow/cadence should take a look as well. Deploying this requires an HCU. |
2f5e773
to
76678dc
Compare
Do we have an HCU planned for the near future that we can slot this into? There is no rush, but it would be nice to get it in relatively soon because some developers whose contracts broke are asking for it |
Yes, there's an HCU planned. Please connect with @Kay-Zee @vishalchangrani |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Can you please add a test?
@turbolent Where are the tests for this? |
At the moment there is only |
Yeah, I wouldn't know where to start with that so I could definitely use some help |
Closes #6450
Adds an implementation of
NonFungibleToken.Collection.getIDs()
to the recovered program for unmigrated NFT contracts.This will allow projects that didn't migrate to be able to query broken collections and recreate ownership with a newly deployed contract.