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