assert.equal(fourthData.config.provider.rpcTarget,null,'old rpcTarget should not exist.')
assert.equal(fourthData.config.provider.type,'testnet','config.provider should be set to testnet.')
returnmigration5.migrate(vault4)
}).then((fifthResult)=>{
constfifthData=fifthResult.data
assert.equal(fifthData.vault,null,'old vault should not exist')
assert.equal(fifthData.walletNicknames,null,'old walletNicknames should not exist')
assert.equal(fifthData.config.selectedAccount,null,'old config.selectedAccount should not exist')
assert.equal(fifthData.KeyringController.vault,vault4.data.vault,'KeyringController.vault should exist')
assert.equal(fifthData.KeyringController.selectedAccount,vault4.data.config.selectedAccount,'KeyringController.selectedAccount should have moved')
assert.equal(fifthData.KeyringController.walletNicknames['0x0beb674745816b125fbc07285d39fd373e64895c'],vault4.data.walletNicknames['0x0beb674745816b125fbc07285d39fd373e64895c'],'KeyringController.walletNicknames should have moved')
vault5=fifthResult
returnmigration6.migrate(fifthResult)
}).then((sixthResult)=>{
assert.equal(sixthResult.data.KeyringController.selectedAccount,null,'old selectedAccount should not exist')
assert.equal(sixthResult.data.PreferencesController.selectedAddress,vault5.data.KeyringController.selectedAccount,'selectedAccount should have moved')
vault6=sixthResult
returnmigration7.migrate(sixthResult)
}).then((seventhResult)=>{
assert.equal(seventhResult.data.transactions,null,'old transactions should not exist')
assert.equal(seventhResult.data.gasMultiplier,null,'old gasMultiplier should not exist')
assert.equal(seventhResult.data.TransactionManager.transactions[0].id,vault6.data.transactions[0].id,'transactions should have moved')
assert.equal(seventhResult.data.TransactionManager.gasMultiplier,vault6.data.gasMultiplier,'gasMultiplier should have moved')
vault7=seventhResult
returnmigration8.migrate(seventhResult)
}).then((eighthResult)=>{
assert.equal(eighthResult.data.noticesList,null,'old noticesList should not exist')
assert.equal(eighthResult.data.NoticeController.noticesList[0].title,vault7.data.noticesList[0].title,'noticesList should have moved')
vault8=eighthResult
returnmigration9.migrate(eighthResult)
}).then((ninthResult)=>{
assert.equal(ninthResult.data.currentFiat,null,'old currentFiat should not exist')
assert.equal(ninthResult.data.fiatCurrency,null,'old fiatCurrency should not exist')
assert.equal(ninthResult.data.conversionRate,null,'old conversionRate should not exist')
assert.equal(ninthResult.data.conversionDate,null,'old conversionDate should not exist')
assert.equal(ninthResult.data.CurrencyController.currentCurrency,vault8.data.fiatCurrency,'currentFiat should have moved')
assert.equal(ninthResult.data.CurrencyController.conversionRate,vault8.data.conversionRate,'conversionRate should have moved')
assert.equal(ninthResult.data.CurrencyController.conversionDate,vault8.data.conversionDate,'conversionDate should have moved')
vault9=ninthResult
returnmigration10.migrate(ninthResult)
}).then((tenthResult)=>{
assert.equal(tenthResult.data.shapeShiftTxList,null,'old shapeShiftTxList should not exist')