You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
SOR seems to be unable to query the correct amount of ADA at the given collateral UTxO and gives an Insufficient Funds warning and a seemingly static number of 2000000 lovelace even though the UTxOs I tried had either 5000000 or 9000000 lovelace. I'm not sure why this issue seems to occur for some people but not others.
Additional context
I tried to troubleshoot this a number of different ways but I can't diagnose what the actual problem is, mostly due to my limited Haskell ability. I can see that the error message is getting triggered here but I'm unsure how to trace it back to a root cause.
The text was updated successfully, but these errors were encountered:
Thanks for being elaborate in your issue @Cerkoryn !
From the screenshot shared, it is clear that your SOR has found a match, namely the one with commodity 25f0.... But note that, this match need not be optimal! I.e., there is some improvements we need to do in our matching algorithm (as I guess it doesn't yet handle for fees that need to be given to GY DEX) so that the match it gives does not lead to loss of ada.
UTxO which you explicitly specify as collateral is reserved, i.e., we do not spend it in our tx build process, thus ada in it is not available as wallet's balance. If you want to get rid of this warning, then as of now, you can put up another UTxO in your wallet with sufficient size, like 10 ada. Also, you may want to check out this PR's branch until it is merged, #66, so as to not lose ada under transaction fees.
Thank you @sourabhxyz. However as you can see from the second screenshot, I have several UTxOs in that wallet at the same address with balances ranging from 5 ADA to 28 ADA, but I still get the warning and the bot has not yet made a trade.
I'll keep an eye on the PR but I'm not particularly worried about losing a small amount of ADA due to Tx fees right now as I'm more focused on making sure my SOR instance is functioning properly.
Describe the bug
SOR seems to be unable to query the correct amount of ADA at the given collateral UTxO and gives an
Insufficient Funds
warning and a seemingly static number of 2000000 lovelace even though the UTxOs I tried had either 5000000 or 9000000 lovelace. I'm not sure why this issue seems to occur for some people but not others.To Reproduce
Insufficient Funds
warning and a seemingly incorrect lovelace value.Expected behavior
SOR should detect the correct collateral UTxO with the correct amount of ADA and use it to make SOR matches.
Screenshots
Station (please complete the following information):
Additional context
I tried to troubleshoot this a number of different ways but I can't diagnose what the actual problem is, mostly due to my limited Haskell ability. I can see that the error message is getting triggered here but I'm unsure how to trace it back to a root cause.
The text was updated successfully, but these errors were encountered: