Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> eeee8df0d0b58a57583d9d7f7d2736c31e67da7ebab5194670f0da185f79579f:16:12
|
16 | self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:571:33
|
571 | let nodeDelegator <- FlowIDTableStaking.registerNewDelegator(nodeID: nodeID, tokensCommitted: <-tokens)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Tokens committed for delegator registration is not above the minimum (50.00000000)
--> 8624b52f9ddcd04a.FlowIDTableStaking:1560:8
|
1560 | assert(
1561 | tokensCommitted.balance >= minimum,
1562 | message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
1563 | )
| ^