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