This migration will move users who have their clients configured to point at `rawtestrpc.metamask.io` to point at our new test-net RPC, `testrpc.metamask.io`.feature/default_network_editable
parent
db85827b2b
commit
875a0731dd
@ -0,0 +1,13 @@ |
||||
module.exports = { |
||||
version: 2, |
||||
|
||||
migrate: function(data) { |
||||
try { |
||||
if (data.config.provider.type === 'etherscan') { |
||||
data.config.provider.type = 'rpc' |
||||
data.config.provider.rpcTarget = 'https://rpc.metamask.io/' |
||||
} |
||||
} catch (e) {} |
||||
return data |
||||
} |
||||
} |
Loading…
Reference in new issue