Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> ceac9e5575310104aa7fa7a444ea925a5b5c47598bab60be263d4f0bc4b8aab3:16:8
|
16 | self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:705:33
|
705 | 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 | )
| ^