Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 99fb83c6afa97741b6f6fb4419127ec2c6176c2ab2def2f1e44f3749b27f9e03:118:6
|
118 | self.collectionRef!.stakeNewTokens(nodeID: self.nodeID, delegatorID: self.delegatorID, amount: self.amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 95e019a17d0e23d7.FlowStakingCollection:700:20
|
700 | delegator.delegateNewTokens(from: <- self.getTokens(amount: amount))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Cannot delegate if the staking auction isn't in progress
--> 9eca2b38b18b5dfe.FlowIDTableStaking:657:16
|
657 | FlowIDTableStaking.stakingEnabled(): "Cannot delegate if the staking auction isn't in progress"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^