I made a test contract called “TestNFT” and saved an NFTMinter resource to /storage/NFTMinter (both emulator and Testnet). I then removed the contract but NFTMinter is still in /storage/NFTMinter. Is there any way to remove this? I can’t find anything in the docs about remove resources once the contract no longer exists.
I’m assuming you thought of loading and destroying a resource from an account’s storage if the contract used to create the resource has been removed from the account being imported from?
If that’s the case then not at the moment. Loading the value loads the type information, ie the contract code. If it’s missing, the load fails.