Open leobel opened 5 months ago
SOR is running from docker (version 3.8)
@4TT1L4 I am not much familiar with our docker setup, could it be that the author is not using the latest commit of SOR repo?
@sourabhxyz the image was built from commit: 4a1557dd33927d384f16fe7c5e8c671e2932dc01
. Could be this change improving balance lose check? https://github.com/geniusyield/smart-order-router/commit/e8ff85689c04db337ed80803f377f1d701f6816e#diff-9db7f972ccac4f5d5d30e807f57605cfa03211522d4c32fe33f888d7241d3772
Yes, that's the old one. Use commit 921f3d3f22b146da671a5eff9b3e42a5fb19a4d9
or later.
@leobel Please re-open the issue in case you see the same issue with the most recent revision of the SOR.
I am closing this issue now, since it is very likely to be already fixed in the most recent version of the SOR.
Most recent version is still losing funds https://cexplorer.io/tx/bcc877dffd55cbaeada786e2a6fee8adc131450e945370b972ddb954319a311e addr1v9pkqtuhj429uty3zpkvzku3s436c9kqxp93d2pcqvf8tgcfcepal
Also running into losing fund issues:
Tx: https://cexplorer.io/tx/0b60fe6ca081b2a47b68cdd20dbe5b424a451a7704789ec72d7805c6cd12278f Address: addr1v92xqu74grwyl6pv6m6p6f062vasds74rmtjpyq6lacl3rgdcw8gc
I am running the SOR via docker with an image built from source using this commit
@sourabhxyz the issue seems to be still present.
I have reopened the issue.
I personally feel something is up with the docker image, as my SOR personally never matched at loss. @4TT1L4 could you verify that docker image is indeed built using latest commit? @caike In your configuration, currency is set as lovelace for all tokens right?
I personally feel something is up with the docker image, as my SOR personally never matched at loss. @4TT1L4 could you verify that docker image is indeed built using latest commit? @caike In your configuration, currency is set as lovelace for all tokens right?
Yep. I am pretty much using the default configuration from the README:
"scanTokens": [
{
"commodityAsset": "c6e65ba7878b2f8ea0ad39287d3e2fd256dc5c4160fc19bdf4c4d87e.7447454e53",
"currencyAsset": "lovelace"
}
]
Describe the bug SOR executed a losing funds order: https://cardanoscan.io/transaction/c64934e42fb581dd0917027004b0930b949d4b78e49063deb5a7103b8de1a787?tab=utxo. bot address:
addr1vy0csc8ze26e9e9wr0q2f4xkxpsj6pt8q62vy9yvm4zuy3gtj6jug
Expected behavior Orders executed should not be losing funds.
Station (please complete the following information):
Additional context SOR is running from docker (version 3.8) SOR Config: