Commit Graph

4 Commits (88c7194e2e2cbfef8e465a1590124119d99d23bb)

Author SHA1 Message Date
Andras Banki-Horvath f40ef193e9
loop: add migration for loopout swaps to fix negative stored costs
Previously we may have stored negative costs for some loop out swaps
which this commit attempts to correct by fetching all completed swap,
calculating the correct costs and overriding them in the database.
4 months ago
Andras Banki-Horvath c650cdc8a8
loopdb: add ability to track manual migrations 4 months ago
Andras Banki-Horvath 4f5c806ba5
loopdb: add helper methods to update swap costs
This commit adds the necessary sqlc code and SwapStore function to
update swap costs for all swaps in one transaction.
4 months ago
George Tsagkarelis e0d85958f7
multi: move StoreMock to loopdb 8 months ago