Flow price: --
bc1a304624033507d2241deb69c22593602e4a100da6cc58ae591681bb8c817b

Transaction

Hash: bc1a304624033507d2241deb69c22593602e4a100da6cc58ae591681bb8c817b
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> bc1a304624033507d2241deb69c22593602e4a100da6cc58ae591681bb8c817b:12:4
   |
12 |     acct.forEachPublic(fun (path: PublicPath, type: Type): Bool {
13 |       if !type.isSubtype(of: providerType){
14 |         return true
15 |       }
16 | 
17 |       let collectionIdentifer = acct.getCapability<&AnyResource>(path).borrow()!.getType().identifier
18 |       let segments = StringUtils.split(collectionIdentifer, ".")
19 |       let nftTypeIdentifier = "A.".concat(segments[1]).concat(".").concat(segments[2]).concat(".NFT")
20 | 
21 |       var catalogIdentifier = ""
22 |       if let catalogIdentifiers = NFTCatalog.getCollectionsForType(nftTypeIdentifier: nftTypeIdentifier) {
23 |         for k in catalogIdentifiers.keys {
24 |           if catalogIdentifiers[k] == true {
25 |             catalogIdentifier = k
26 |           }
27 |         }
28 |       }
29 | 
30 |       if catalogIdentifier == "" {
31 |         panic("no catalog identifier found")
32 |       }
33 | 
34 |       let catalogData = NFTCatalog.getCatalogEntry(collectionIdentifier: catalogIdentifier)!
35 | 
36 |       publicPaths.append(catalogData.collectionData.publicPath)
37 |       storagePaths.append(catalogData.collectionData.storagePath)
38 | 
39 |       return true
40 |     })
   |     ^^

error: panic: no catalog identifier found
  --> bc1a304624033507d2241deb69c22593602e4a100da6cc58ae591681bb8c817b:31:8
   |
31 |         panic("no catalog identifier found")
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
bc1a304624033507d2241deb69c22593602e4a100da6cc58ae591681bb8c817b
Status:
ERROR
Block height:
61485098
Block id:
f3a6d8b3e79131a1934a0d0af1ed9579f9365c5e9b8ec4a4e50f66eac22eab58
Timestamp:
Friday 22 September 2023 at 13:20:06 UTC
()
Proposer:
Authorizers:
Gas used:
168