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

fix(swapper): osmosis multi-account swaps #1210

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

pastaghost
Copy link
Collaborator

@pastaghost pastaghost commented Feb 23, 2023

  • fixes ATOM(account 0) -> OSMO(account 1) trades as reported by TShifty.
  • note: there is probably a way to accomplish the same thing making better use of the type system than sticking an optional field onto the base trade types. I played around with this for a while, but ended up reverting to the naiive case for expediency. If you've got any suggestions, please let me know and I'll be happy to fix.

@pastaghost pastaghost requested a review from a team as a code owner February 23, 2023 11:31
@pastaghost pastaghost changed the title fix: osmosis multi-account swaps fix(swapper): osmosis multi-account swaps Feb 23, 2023
@elmutt
Copy link
Collaborator

elmutt commented Feb 23, 2023

This was never part of the osmosis bounty but ok

Copy link
Contributor

@gomesalexandre gomesalexandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the biggest fan of receiveAccountNumber given we already have receiveAddress (should be one or the other, i.e we should be able to derive the receive address with the account number?), but won't nitpick this one, happy to merge in this state and maybe revisit later so we can unblock Osmo

@gomesalexandre gomesalexandre merged commit 6b5a7ab into main Feb 23, 2023
@gomesalexandre gomesalexandre deleted the fix-osmosis-swapper-multi-account-trades branch February 23, 2023 15:27
shapeshift-ci-bot pushed a commit that referenced this pull request Feb 23, 2023
# [@shapeshiftoss/swapper-v17.3.1](https://github.com/shapeshift/lib/compare/@shapeshiftoss/swapper-v17.3.0...@shapeshiftoss/swapper-v17.3.1) (2023-02-23)

### Bug Fixes

* **swapper:** osmosis multi-account swaps ([#1210](#1210)) ([6b5a7ab](6b5a7ab))
@shapeshift-ci-bot
Copy link
Member

🎉 This PR is included in version @shapeshiftoss/swapper-v17.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants