b33c51c0a
eddaf71e3
a08c3bc01
1 2
3
4
5
6 7
8
9 10 11
12 13
14
15
16
const version = 2 module.exports = { version, migrate: function (meta) { meta.version = version try { if (meta.data.config.provider.type === 'etherscan') { meta.data.config.provider.type = 'rpc' meta.data.config.provider.rpcTarget = 'https://rpc.metamask.io/' } } catch (e) {} return Promise.resolve(meta) }, }