-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working⎈ QuantStampThis issue is related to QuantStamp review commentThis issue is related to QuantStamp review comment
Description
Problem
The supervisor is only scanForStuck the first 5 vaults
FlowYieldVaults/cadence/contracts/FlowYieldVaultsSchedulerV1.cdc
Lines 188 to 197 in fc25906
| if scanForStuck { | |
| // TODO: add pagination - this will inevitably fails and at minimum creates inconsistent execution | |
| // effort between runs | |
| let registeredYieldVaults = FlowYieldVaultsSchedulerRegistry.getRegisteredYieldVaultIDs() | |
| var scanned = 0 | |
| for yieldVaultID in registeredYieldVaults { | |
| if scanned >= FlowYieldVaultsSchedulerRegistry.MAX_BATCH_SIZE { | |
| break | |
| } | |
| scanned = scanned + 1 |
Steps to Reproduce
create a test where the 6th vault gets stuck.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working⎈ QuantStampThis issue is related to QuantStamp review commentThis issue is related to QuantStamp review comment