Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1a741879a7d289a7ef73aff7871e4c81a5aa09199695dbdb1e6cee4b8e9a01a4:19:3
|
19 | self.FLOATEvent.mint(recipient: recipientCollection, optExtraFloatMetadata: {"medalType": medalTypes[address]!})
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 2d4c3caffbeab845.FLOAT:711:12
|
711 | self.setUserClaim(serial: serial, address: recipientAddr, floatId: id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to force-cast value: expected type `auth(Mutate) &[UInt64]?`, got `&[UInt64]?`
--> 2d4c3caffbeab845.FLOAT:528:40
|
528 | let claimsByAddress = claims[address] as! auth(Mutate) &[UInt64]?
| ^^^^^^^^^