Skip to content
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

feat(cosmos): support IBC types in tx history implementation #2245

Merged
merged 7 commits into from
Nov 6, 2024

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Oct 15, 2024

Cosmos transaction history implementation was incorrectly parsing addresses (using the relayer address instead of the cross-chain address) from IBC transactions. This PR fixes the address parsing logic and adds test coverage for it.

This should not be merged before #2246.

To Test:
Already tested #2245 (comment)

@onur-ozkan onur-ozkan added enhancement New feature or request in progress Changes will be made from the author labels Oct 15, 2024
@onur-ozkan onur-ozkan force-pushed the cosmos-tx-history-ibc-txs branch from 820682e to 187ee05 Compare October 17, 2024 04:56
@onur-ozkan onur-ozkan marked this pull request as ready for review October 17, 2024 08:29
@onur-ozkan onur-ozkan force-pushed the cosmos-tx-history-ibc-txs branch from 745be76 to f6f0eba Compare October 21, 2024 09:27
@onur-ozkan onur-ozkan added under review and removed in progress Changes will be made from the author labels Oct 21, 2024
Copy link
Collaborator

@mariocynicys mariocynicys left a comment

Choose a reason for hiding this comment

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

LGTM

@shamardy
Copy link
Collaborator

shamardy commented Nov 1, 2024

@onur-ozkan has this been tested by someone already? if not, please add To Test here #2245 (comment) and QA label and merge it.

@onur-ozkan
Copy link
Member Author

@onur-ozkan has this been tested by someone already? if not, please add To Test here #2245 (comment) and QA label and merge it.

It was tested by @naezith I believe.

@naezith
Copy link

naezith commented Nov 6, 2024

@shamardy shamardy merged commit 5328bc3 into dev Nov 6, 2024
21 of 23 checks passed
@shamardy shamardy deleted the cosmos-tx-history-ibc-txs branch November 6, 2024 13:02
dimxy added a commit that referenced this pull request Nov 7, 2024
* dev:
  fix(nft): add token_id field to the tx history primary key, fix balance (#2209)
  feat(cosmos): support IBC types in tx history implementation (#2245)
  fix(hd-wallet): use `CoinBalanceMap` for UTXO and QTUM (#2259)
  fix(tests): add more sepolia endpoints in tests (#2262)
  fix(legacy-swap): check for confirmations on recover taker (#2242)
  fix(legacy-swap): remove the need for takers to confirm their payment (#2249)
  refactor(P2P): types and modules (#2256)
  fix(evm): correctly display eth addr in iguana v2 activation result (#2254)
  feat(utxo): prioritize electrum connections (#1966)
  refactor(SwapOps): make all methods async (#2251)
  refactor(SwapOps): make `send_maker_payment` async (#2250)
  remove old p2p implementation (#2248)
dimxy added a commit that referenced this pull request Nov 11, 2024
* dev:
  fix(foot-shooting): remove leftover code that panics via RPC (#2270)
  refactor(MarketCoinOps): make `wait_for_htlc_tx_spend` async (#2265)
  feat(eth-swap): maker tpu v2 implementation (#2211)
  fix(nft): add token_id field to the tx history primary key, fix balance (#2209)
  feat(cosmos): support IBC types in tx history implementation (#2245)
  fix(hd-wallet): use `CoinBalanceMap` for UTXO and QTUM (#2259)
  fix(tests): add more sepolia endpoints in tests (#2262)
  fix(legacy-swap): check for confirmations on recover taker (#2242)
  fix(legacy-swap): remove the need for takers to confirm their payment (#2249)
  refactor(P2P): types and modules (#2256)
  fix(evm): correctly display eth addr in iguana v2 activation result (#2254)
  feat(utxo): prioritize electrum connections (#1966)
  refactor(SwapOps): make all methods async (#2251)
  refactor(SwapOps): make `send_maker_payment` async (#2250)
  remove old p2p implementation (#2248)
  feat(cosmos-offline-tests): prepare IBC channels inside the container  (#2246)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants