Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 120bdf4ec035d967e419ccd947d04766616c4614838ab8e7ee84437a9be5e3ae:16:8
|
16 | self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 95e019a17d0e23d7.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)
--> 9eca2b38b18b5dfe.FlowIDTableStaking:1582:8
|
1582 | assert(
1583 | tokensCommitted.balance >= minimum,
1584 | message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
1585 | )
| ^