-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UniswapLP - failed to remove liquidity (One of the tokens in this position isn't recognized) #154
Comments
@nikspz Can you provide more info about the position you added and tried to remove?
|
@fengtality position added: gateway logs: logs_gateway_app.log
Curl command to remove:
eth_uniswap_position.json
|
tokens: WETH: { |
get position request:
get pool price:
0x82aF49447D8a07e3bd95BD0d56f35241523fBab1 (https://arbiscan.io/address/0x82aF49447D8a07e3bd95BD0d56f35241523fBab1) uniswapLP Client strategy status |
Bounty
@vic-en Can you take this bounty? I think this issue may be related to the chain configuration change, since the call to |
Bounty Accepted! |
Assigned to @ZAABY , please be informed:
Thanks for your contribution! |
So, from my understanding till now I have traced back the error to get contact function. I think this is were the problem is. So, I am giving a try to get gateway interact directly with the pool instead of via router (Which it's doing rn!) |
yes it looks like a JS scoping issue as this traces back to the
this.storedTokenList call
the task is to identity root cause and fix this issue.
if you don't have the JS experience to solve this, let me know and we will
reassign to a dev with more experience with Gateway
…On Wed, Jul 19, 2023, 5:27 PM Zohaib Khalid ***@***.***> wrote:
Hello Everyone!
So I came to some solution but facing the attached error. Can any one help
me what to do to get out of it?
[image: WhatsApp Image 2023-07-20 at 01 51 50]
<https://user-images.githubusercontent.com/96419757/254715082-9170c1d4-7846-453d-9032-f41d1a994bf6.jpeg>
—
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANWHVUVGTTJ75QC6OSELL3XRBGM3ANCNFSM6AAAAAA2HOKWPY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I resign! |
@ZAABY unassigned from this bounty |
Assigned to @vic-en , please be informed:
Thanks for your contribution! |
fix #169 was merged to the latest development branch |
Thanks for your participation, the bounty has been sent to @vic-en. The fix has been deployed on development branch and next hummingbot version 1.19.0 |
Describe the bug
UniswapLP - failed to remove liquidity
Steps To Reproduce
0. You Have added liquidity with id 123456
curl -s -X POST -k --key $GATEWAY_KEY --cert $GATEWAY_CERT -H "Content-Type: application/json" -d "$(envsubst < ./requests/eth_uniswap_position.json)" https://localhost:15888/amm/liquidity/remove | jq
Actual:
Failed to remove liquidity with error:
Release version
dev-1.18.0
The text was updated successfully, but these errors were encountered: