aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-09-06 02:49:18 +0800
committerGitHub <noreply@github.com>2017-09-06 02:49:18 +0800
commitba2d1f8d3ebcede778cbc2a66aead0df8e825ea0 (patch)
tree95edeaa022ac0815823938df6d9776dd20df1ac8
parent2885a9547187ce1ad0fb3bed1935387d901942a8 (diff)
parent70a61f8712db89687db5df99275a71e018d1e430 (diff)
downloadtangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar.gz
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar.bz2
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar.lz
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar.xz
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.tar.zst
tangerine-wallet-browser-ba2d1f8d3ebcede778cbc2a66aead0df8e825ea0.zip
Merge pull request #2018 from MetaMask/i2014-BetterWeb3DeprecationWarning
Make web3 deprecation notice more useful
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/scripts/lib/auto-reload.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e6835e7bc..d9cb02a24 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
- Add the total amount of tokens when multiple tokens are added under the token list
- Use HTTPS links for Etherscan.
- Update Support center link to new one with HTTPS.
+- Make web3 deprecation notice more useful by linking to a descriptive article.
## 3.9.11 2017-8-24
diff --git a/app/scripts/lib/auto-reload.js b/app/scripts/lib/auto-reload.js
index 62aaf405c..cce31c3d2 100644
--- a/app/scripts/lib/auto-reload.js
+++ b/app/scripts/lib/auto-reload.js
@@ -11,7 +11,7 @@ function setupDappAutoReload (web3, observable) {
get: (_web3, key) => {
// show warning once on web3 access
if (!hasBeenWarned && key !== 'currentProvider') {
- console.warn('MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider \nhttps://github.com/ethereum/mist/releases/tag/v0.9.0')
+ console.warn('MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider \nhttps://github.com/MetaMask/faq/blob/master/detecting_metamask.md#web3-deprecation')
hasBeenWarned = true
}
// get the time of use