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: --> f9e8e61a81332ede3812291b95788cf3fcadf5a9b2b6dbc8a5792ea7e253fef0:18:32 | 18 | let unstakingLpVault <- pool.unstake(userCertificateCap: userCertificateCap, amount: migrateFarmLpAmount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: pre-condition failed: [IncStakingErrorMsg:Cannot borrow reference to IdentityCertificate][IncStakingErrorCode:7] --> 1b77ba4b414de352.Staking:615:8 | 615 | userCertificateCap.check() && userCertificateCap.borrow()!.owner != nil: StakingError.errorEncode(msg: "Cannot borrow reference to IdentityCertificate", err: StakingError.ErrorCode.INVALID_USER_CERTIFICATE) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
pid:
0
migrateFarmLpAmount:
1.3134104
Loading...