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

transaction failed in Metamask, but succeed on chain #645

Closed
1 of 4 tasks
xbc-main opened this issue Feb 13, 2021 · 1 comment
Closed
1 of 4 tasks

transaction failed in Metamask, but succeed on chain #645

xbc-main opened this issue Feb 13, 2021 · 1 comment

Comments

@xbc-main
Copy link

xbc-main commented Feb 13, 2021

Summary of Bug

1. Describe

部署 Uniswap 的Factory 和 Router 到测试链,添加流动性以后。使用Pair的transfer方法转账LP Token时,有时成功,有时失败。

比如成功的交易

https://www.oklink.com/okexchain-test/tx/0x901cbd9281c08f24488f1e55f6c784fe422dc7f51f1f0ca5ffa8c09402816f86

会显示代币转移。

浏览器显示成功而在Metamask显示失败的交易

https://www.oklink.com/okexchain-test/tx/0xa81a87bed72d20dcb364f3494ea801ab8d56918caffbc44d8465c13c03a7b241

没有代币的转移。不过虽然没有显示代币的转移,两边的余额也都发生了变化,发送者扣了余额,接收者增加了余额。

在Remix里显示:


status | false Transaction mined but execution failed
-- | --
transaction hash | 0xa81a87bed72d20dcb364f3494ea801ab8d56918caffbc44d8465c13c03a7b241
from | 0x64D93A001DaC5feC6ADdB79A4D6e96969d704958
to | 0x0Dd4312dE0015Ae09ee57cD06a3D17A7B72cdDA7 0x0Dd4312dE0015Ae09ee57cD06a3D17A7B72cdDA7
gas | 86520 gas
transaction cost | 28945 gas
hash | 0xa81a87bed72d20dcb364f3494ea801ab8d56918caffbc44d8465c13c03a7b241
input | 0xa90...da000
decoded input | -
decoded output | -
value | 0 wei


2. Impact

3. Recover

Expected Result

Version

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@KamiD
Copy link
Member

KamiD commented May 26, 2021

has been resolved

@KamiD KamiD closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants