-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Currently scheduling dca can fail because gas limit was hit during reserving of assets, this can be overcame by wrapping it with extra gas. However, is very likely the following execution itself will fail as well then on gas limit.
This can be fixed by transfering reserved balance straight to the DCA and bypassing account that would require that extra gas, but in the case of unbudgeted DCA the extra gas just have to be supplied to enable transfer.
- bypass user account when transferring from reserve
If previous DCA execution fails on out of gas (requires #1206), increase gas limit by (max extra gas / max retries) clamped to max extra gas.
- Better EVM error handling #1206
- retry on outofgas
- store max & current extra gas of schedule
- add optional param for max extra gas which will be charged on every execution (and possibly schedule as well, default will be 1_000_000)
Metadata
Metadata
Assignees
Labels
No labels