metamask-extension
metamask-extension copied to clipboard
[Bug]: Error: Unable to determine contract standard in non-standard (MKR) token
Describe the bug
User reported they couldn't send MKR token via Metamask. I've confirmed.
When trying to send MKR via the extension the UI halts with the loading icon and the consol prints "Error: Unable to determine contract standard"
MKR token is non-standard so some custom logic will likely need to be drawn up around it, the non-standard features are:
-
name
returnsbytes32
(instead ofstring
) -
symbol
returnsbytes32
(instead ofstring
) -
decimals
returnsuint256
(instead ofuint8
)
Note that these idiosyncrasies are not exclusive to MKR, and will be present in any ds-token derived token deployed prior to 2021.
Steps to reproduce
- Have MKR in wallet
- Try to send MKR via metamask extension
Error messages or log output
Uncaught (in promise) Error: Unable to determine contract standard
at f.<anonymous> (common-1.js:7:379146)
at Generator.throw (<anonymous>)
at a (common-1.js:7:376936)
### Version
10.11.3
### Build type
_No response_
### Browser
Chrome
### Operating system
Linux
### Hardware wallet
_No response_
### Additional context
_No response_
I am getting same error after trying to transfer my own ERC20 token through Ropsten Test Network.
Same with Goerli test net
I confirm I have the same problem. I openned a thread on Metamask community. This used to work perfectly on 10.11.3 (about a month ago), so it's a new introduced bug. Looking forward for a fix
Happening to me too interacting with the DGD ERC20 contract
Affecting 10.13.0
Same problem
We have method approve with same signature on vault contract, worked before and we need user to approve the spender contract first. Cannot workaround without downgrading metamask.
Can it be written more defensively?
@kumavis sorry to tag you, but could someone look at this issue, please. It's impossible to interact with MKR at the moment using Metamask and it has been broken for some quite time. Thanks.
Have this same issue on rinkeby trying to approve an erc20
I confirm this problem and here are more people having it with some more info https://community.metamask.io/t/i-cant-send-just-the-mkr-token/19753/15
Thanks for reporting everyone! Fix underway here: https://github.com/MetaMask/controllers/pull/830
Closing this as the fix has been merged. This should be fixed for users in one of our next releases.
I'm still having this issue with the Ethernaut Dex challenge
me too, this has been closed with fix coming in next release 29 days ago, but still can't do anything with MKR token.
Any ETA on when we will be able to send our MKR tokens? :)
Still facing the issue on version 10.15.1
Yes still can't interact with MKR tokens I confirm. Also feels like this issue has been abandoned, anyone?
Update: the fix for this has been merged, but it depends on this other issue that have yet to be merged: https://github.com/MetaMask/metamask-extension/pull/14906
Update: the fix for this has been merged, but it depends on this other issue that have yet to be merged: #14906
Do you think it will be merged and release soon? We are talking about Maker token, OG project, and old friend of Metamask. It has been broken for several months causing several issues to our users. Can this be escalated and fixed soon?
Update: this will be fixed in extension release v10.19
Update: this will be fixed in extension release v10.19
when will this be released?
If you declare a variable:
uint8 public decimals;
And on the constructor set it to 0:
decimals = 0;
it will work as mentioned in the standards.
The fix will be released with 10.19.0 which will start rolling out late next week.
Alright, when will this finally be rolled out? My MKR has been stuck in my MetaMask long enough and I am trying to exit tf out already lol
ср, 10 серп. 2022, 05:46 користувач JayWuzer @.***> пише:
Alright, when will this finally be rolled out? My MKR has been stuck in my MetaMask long enough and I am trying to exit tf out already lol
— Reply to this email directly, view it on GitHub https://github.com/MetaMask/metamask-extension/issues/14187#issuecomment-1210086782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX5ACNIBWZZFR5D6ZCD2P6DVYMJXXANCNFSM5RRR3N5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Alright, when will this finally be rolled out? My MKR has been stuck in my MetaMask long enough and I am trying to exit tf out already lol
I'm wondering the same thing.
Hello...? I'd like to know when I can finally move my MKR out. It has been a really long time lol
yes we were told it should be a week ago......
Bruh.
I'm pissed lol
Bruh it has been damn near two weeks since I first came here to drop a comment. What're y'all doing lol