Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 29bba64f107c0d29daef698797afd7c03c3e92311e1eec66d0b030d772d2873f:7:8
|
7 | NFTCatalog.forEachCatalogKey(fun (key: String): Bool {
8 | if let metadata = NFTCatalog.getCatalogEntry(collectionIdentifier: key) {
9 | if !metadata.nftType.isRecovered {
10 | NFTList.ensureNFTCollectionRegistered(metadata.contractAddress, metadata.contractName)
11 | }
12 | }
13 | return true
14 | })
| ^^
--> 49a7cda3a1eecc29.NFTCatalog:207:8
|
207 | self.catalog.forEachKey(function)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 29bba64f107c0d29daef698797afd7c03c3e92311e1eec66d0b030d772d2873f:10:20
|
10 | NFTList.ensureNFTCollectionRegistered(metadata.contractAddress, metadata.contractName)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 15a918087ab12d86.NFTList:1139:12
|
1139 | registry.registerStandardNonFungibleToken(address, contractName)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 15a918087ab12d86.NFTList:945:37
|
945 | self._register(<- create NFTCollectionEntry(address, contractName))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 15a918087ab12d86.NFTList:194:12
|
194 | self.getCollectionData()
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Failed to load the NFT Collection Data
--> 15a918087ab12d86.NFTList:269:19
|
269 | ?? panic("Failed to load the NFT Collection Data")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^