Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Cowswap 1316/trailling dot #300

Merged
merged 2 commits into from
Dec 3, 2021
Merged

Cowswap 1316/trailling dot #300

merged 2 commits into from
Dec 3, 2021

Conversation

alfetopito
Copy link
Contributor

@alfetopito alfetopito commented Dec 2, 2021

Summary

Part of gnosis/cowswap#1316

Do not return values with trailing dots

Screenshot from 2021-12-02 16-11-41

Testing

  • Unit test
  • Locally added to CowSwap the updated lib

@alfetopito alfetopito requested a review from a team December 2, 2021 23:59
@alfetopito alfetopito self-assigned this Dec 2, 2021
@alfetopito alfetopito merged commit 07f37bb into master Dec 3, 2021
@alfetopito alfetopito deleted the cowswap-1316/trailling-dot branch December 3, 2021 18:13
mergify bot pushed a commit to gnosis/cowswap that referenced this pull request Dec 6, 2021
# Summary

Fixes #1316 

The actual fix was on dex-js gnosis/dex-js#300

This change is simply bumping the lib version on CowSwap

  # To Test

1. Pick a pair and fill in an absurd high amount
2. Wait until the receive amount is something that ends in  `.0` - well, you actually won't see that because you should see instead no trailing dots nor zeros
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants