1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Make eth_sign deprecation warning more useful

Link to descriptive article that demonstrates the new preferred method.
This commit is contained in:
Dan Finlay 2017-09-05 11:44:26 -07:00
parent 2885a95471
commit 90272e252f
2 changed files with 14 additions and 2 deletions

View File

@ -3,6 +3,7 @@
## Current Master ## Current Master
- Make eth_sign deprecation warning less noisy - Make eth_sign deprecation warning less noisy
- Add useful link to eth_sign deprecation warning.
- Fix bug with network version serialization over synchronous RPC - Fix bug with network version serialization over synchronous RPC
- Add MetaMask version to state logs. - Add MetaMask version to state logs.
- Add the total amount of tokens when multiple tokens are added under the token list - Add the total amount of tokens when multiple tokens are added under the token list

View File

@ -35,10 +35,21 @@ PendingMsg.prototype.render = function () {
style: { style: {
margin: '10px', margin: '10px',
}, },
}, `Signing this message can have }, [
`Signing this message can have
dangerous side effects. Only sign messages from dangerous side effects. Only sign messages from
sites you fully trust with your entire account. sites you fully trust with your entire account.
This dangerous method will be removed in a future version.`), This dangerous method will be removed in a future version. `,
h('a', {
href: 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527',
style: { color: 'rgb(247, 134, 28)' },
onClick: (event) => {
event.preventDefault()
const url = 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527'
global.platform.openWindow({ url })
},
}, 'Read more here.'),
]),
// message details // message details
h(PendingTxDetails, state), h(PendingTxDetails, state),