Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> c8047b87790c829f830242b574b2a0367a26917332eef2fe4ce2b4207d614c00:17:8
|
17 | self.stakingCollectionRef.stakeNewTokens(nodeID: nodeID, delegatorID: delegatorID, amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.FlowStakingCollection:630:20
|
630 | delegator.delegateNewTokens(from: <- self.getTokens(amount: amount))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Cannot delegate if the staking auction isn't in progress
--> 8624b52f9ddcd04a.FlowIDTableStaking:661:16
|
661 | FlowIDTableStaking.stakingEnabled(): "Cannot delegate if the staking auction isn't in progress"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^