Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 5b7e97cf53f86d93a1b3e0e092941105d1ec199c23856a8219d38723ac3d4907: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:1583:8
|
1583 | assert(
1584 | tokensCommitted.balance >= minimum,
1585 | message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
1586 | )
| ^