Whoops! π¨ Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
--> 2727e4711bf53b5282edd1a9061ca65c86afc231e319f91cdcdce903fe903f0c:3:2
|
3 | signer.contracts.update__experimental(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `pack`
--> 74266bc086680e5e.MindtrixPack:309:52
|
309 | self.name = entityVo.name.concat(" #").concat(pack!.serial.toString())
| ^^^^ not found in this scope
error: value of type `&MindtrixPack.NFT{MindtrixPack.INFTPublic}?` has no member `getVo`
--> 74266bc086680e5e.MindtrixPack:1317:29
|
1317 | let packVo = packRef.getVo()
| ^^^^^ type is optional, consider optional-chaining: ?.getVo