-
Notifications
You must be signed in to change notification settings - Fork 301
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
[Gnosis]: Various bug fixes #624
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evgenyboxer
commented
Aug 4, 2021
@@ -296,7 +296,7 @@ export default function useGnosis({ | |||
|
|||
state.errors.priceExceedsBalance = bnum( | |||
formatUnits(maximumInAmount, tokenIn.value.decimals) | |||
).gt(balanceFor(tokenIn.value)); | |||
).gt(balanceFor(tokenIn.value.address)); |
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.
@garethfuller I've added a type for balanceFor
- I think we should type all the other methods too, so we can count on TS to catch those :)
evgenyboxer
force-pushed
the
fix/gnosis-bugs-various
branch
from
August 4, 2021 01:34
702664a
to
9c74794
Compare
arb000r
approved these changes
Aug 4, 2021
TomAFrench
added a commit
that referenced
this pull request
Aug 7, 2021
* develop: [Gnosis]: Add wrap/unwrap transaction action (#636) fix: use more accurate buy/sell amounts for transactions (#635) Add support for transaction speed ups / cancellations (#631) UI 678 lm table (#621) Cleanup dependencies (#629) Disable coingecko list for now (#628) Cleanup unused files & functions (#626) Hotfix/1.11.4 (#627) [Gnosis]: Various bug fixes (#624) Registry refactor hook up (#570) Persist transactions (#620) [Gnosis]: More UI Tweaks (#616)
This was referenced Aug 24, 2021
Merged
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Various bug fixes from testing:
FiatCurrency
enum typo.balanceFor
methodRefactor:
Type of change
How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.
Checklist:
master
if hotfix,develop
if not