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

Maker/taker assets in Swap transactions are incorrectly read as ETH #23565

Closed
onyb opened this issue Jun 21, 2022 · 3 comments · Fixed by brave/brave-core#18299
Closed

Maker/taker assets in Swap transactions are incorrectly read as ETH #23565

onyb opened this issue Jun 21, 2022 · 3 comments · Fixed by brave/brave-core#18299
Assignees
Labels
bug feature/web3/wallet/swap feature/web3/wallet Integrating Ethereum+ wallet support front-end-change This task is a front end task and doesn't need any C++ changes OS/Desktop QA Pass-Win64 QA/Yes release-notes/include

Comments

@onyb
Copy link
Member

onyb commented Jun 21, 2022

Transaction parser for ETHSwap incorrectly reads maker/taker asset as always ETH. It's reproducible every time the maker/taker assets are not part of visible tokens, even though they are present in the full tokens list.

To reproduce, use matcha.xyz to build a swap transaction and make sure the taker asset is not present in the visible tokens list.

@kjozwiak
Copy link
Member

kjozwiak commented Jun 8, 2023

Cleaned up brave/brave-core#18697 as it originally pointed to only #30703 but should have also included this issue as per #30703 (comment). Removed #30703 from labels/milestones as verification will be done with the above issue.

@kjozwiak
Copy link
Member

kjozwiak commented Jun 8, 2023

The above requires 1.52.124 or higher for 1.52.x verification 👍

@srirambv
Copy link
Contributor

Verification passed on

Brave 1.52.125 Chromium: 114.0.5735.110 (Official Build) (64-bit)
Revision 1c828682b85bbc70230a48f5e345489ec447373e-refs/branch-heads/5735_90@{#13}
OS Windows 11 Version 22H2 (Build 22621.1778)
  • Verified steps from brave/brave-core#18299
  • Verified unknown token show ??? in panel and in activity tab
  • Verified clicking on View on block explorer loads the token details page on respective block explorer
23565.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature/web3/wallet/swap feature/web3/wallet Integrating Ethereum+ wallet support front-end-change This task is a front end task and doesn't need any C++ changes OS/Desktop QA Pass-Win64 QA/Yes release-notes/include
Projects
Archived in project
5 participants