Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 57c4dade01a1d372e29149dd3a1863ea2cf0da719a8144b2a0453f1f3b7a651b:16:8
|
16 | self.stakingCollectionRef.registerDelegator(nodeID: id, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:571:33
|
571 | let nodeDelegator <- FlowIDTableStaking.registerNewDelegator(nodeID: nodeID, tokensCommitted: <-tokens)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Cannot register a node operator if the staking auction isn't in progress
--> 8624b52f9ddcd04a.FlowIDTableStaking:1572:12
|
1572 | FlowIDTableStaking.stakingEnabled(): "Cannot register a node operator if the staking auction isn't in progress"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^