-
Notifications
You must be signed in to change notification settings - Fork 58
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
support fusionx v3 on mantle #491
Conversation
elif self.exchange_name not in [PANCAKESWAP_V3_NAME, AGNI_V3_NAME]: | ||
return UNISWAP_V3_POOL_ABI | ||
else: | ||
return PANCAKESWAP_V3_POOL_ABI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not specific to those changes here but this is a case where you should check for all possible conditions and have an else at the end that raises an "unknown exchange"
otherwise errors can percolate much further and may be harder to detect.
Not for now if it goes into the RC but for later
I based the branch on develop and it picked up a lot of weird stuff DO NOT MOVE OUT OF DRAFT BEFORE DEALING WITH THIS; talk to me after the RC is out |
You might want to use that branch at the point in time when the RC branch was created, since many more changes have been pushed into it since (starting from around 22nd of March). |
Looking at the diffs I am pretty sure this PR is good. |
No description provided.