CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> a16b599c343f58de024e2e86327133ee5ab87e2ea073df9017073a487e196259:8:4
|
8 | adminCap.createList(
9 | listId: listId,
10 | name: name,
11 | description: description,
12 | categoryId: categoryId,
13 | creator: creator,
14 | creatorDapperAddress: creatorDapperAddress,
15 | fileName: fileName,
16 | previewImage: previewImage,
17 | format: format,
18 | fileIPFS: fileIPFS,
19 | price: price,
20 | maxSupply: maxSupply
21 | )
| ^^^
error: unexpectedly found nil while forcing an Optional value
--> d756450f386fb4ac.MetaverseMarket:422:48
|
422 | MetaverseMarket.categoriesNFTsToSell[categoryId]!.append(listId)
| ^^^^^^^^^^^^^