Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 2ac7e158f2f6a675cfbc509e3d8eeda3f694998ad6b4cef3739c16d03d3ac746:16:8
|
16 | self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:636:33
|
636 | let nodeDelegator <- FlowIDTableStaking.registerNewDelegator(nodeID: nodeID, tokensCommitted: <-tokens)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Cannot register a delegator if the staking auction isn't in progress
--> 8624b52f9ddcd04a.FlowIDTableStaking:1597:8
|
1597 | assert (
1598 | FlowIDTableStaking.stakingEnabled(),
1599 | message: "Cannot register a delegator if the staking auction isn't in progress"
1600 | )
| ^