Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> b17e5288f5c187a5d4a78ded12821f45299d9e69982c4b1b0a049978f8bb38c3: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:1549:12
|
1549 | FlowIDTableStaking.stakingEnabled(): "Cannot register a node operator if the staking auction isn't in progress"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^