Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 25c9e33e4286e09decd539270e2d5688716d1d108f0905f4b19129ff44bf0e23: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 | )
| ^