Hello,
I enabled eth_sign in MetaMask but the warning in Red (Signing this message can have dangerous side effects… ) does not show when I try to sign a message. MetaMask just gives me the signature after I hit the Sign button. Has this warning been removed now?
Chrome version: 102.0.5005.115
MetaMask version: 11.1.1
My code (run from localhost):
const provider = new ethers.providers.Web3Provider(window.ethereum);
let acct = await provider.send(“eth_requestAccounts”, );
const signedAcct = acct[0];
const message = “Our test message”;
const sig = await provider.send(“eth_sign”, [signedAcct, message]);
What I see:
What I expect to see: