Merge pull request #1988 from MetaMask/i1986-AddVersionToStateLogs

Add version to state logs
feature/default_network_editable
Kevin Serrano 7 years ago committed by GitHub
commit 48021f4f94
  1. 1
      CHANGELOG.md
  2. 5
      ui/app/reducers.js

@ -4,6 +4,7 @@
- Make eth_sign deprecation warning less noisy - Make eth_sign deprecation warning less noisy
- 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 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
## 3.9.11 2017-8-24 ## 3.9.11 2017-8-24

@ -42,7 +42,10 @@ function rootReducer (state, action) {
} }
window.logState = function () { window.logState = function () {
var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, removeSeedWords, 2) let state = window.METAMASK_CACHED_LOG_STATE
const version = global.platform.getVersion()
state.version = version
let stateString = JSON.stringify(state, removeSeedWords, 2)
return stateString return stateString
} }

Loading…
Cancel
Save