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

MetaMask deprecation messages #188

Open
frangio opened this issue Nov 25, 2020 · 5 comments
Open

MetaMask deprecation messages #188

frangio opened this issue Nov 25, 2020 · 5 comments

Comments

@frangio
Copy link
Contributor

frangio commented Nov 25, 2020

I see the following MetaMask deprecation messages on the console:

MetaMask: The event 'data' is deprecated and may be removed in the future. inpage.js:1:20222
MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193 inpage.js:1:20222
MetaMask: 'ethereum.enable()' is deprecated and may be removed in the future. Please use the 'eth_requestAccounts' RPC method instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1102 inpage.js:1:21154
MetaMask: MetaMask will soon stop reloading pages on network change.
For more information, see: https://docs.metamask.io/guide/ethereum-provider.html#ethereum-autorefreshonnetworkchange 
Set 'ethereum.autoRefreshOnNetworkChange' to 'false' to silence this warning.
@frangio
Copy link
Contributor Author

frangio commented Feb 24, 2021

Some of these warnings are still present as was explained in #201:

Yes, apparently there's no way right now to get rid of them. They are given by the Web3. Apparently, because of backward compatibility, they decided to not remove them for the time being. You can read more about it here and here. You can still see them being used

@mainbtpty
Copy link

mainbtpty commented Jan 8, 2022

I ran into the following message too while submitting a Button Form.(MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.).
Is the message a warning or an error ?

@frangio
Copy link
Contributor Author

frangio commented Jan 13, 2022

It's a warning.

@jhaym3s
Copy link

jhaym3s commented Feb 3, 2022

It is no more a warning. ethereum.enable() is completely depreciated.

@frangio
Copy link
Contributor Author

frangio commented Feb 3, 2022

The app works for me. If you see an error please share the error. If you have other information please share a link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 To Do
Development

No branches or pull requests

3 participants