mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
fix: remove unused metamask.rpcUrl
from redux state + fix tests to reflect that (#10714)
This commit is contained in:
parent
a16841f6bb
commit
0fdc8a42ce
@ -5,7 +5,6 @@ const state = {
|
||||
isInitialized: true,
|
||||
isUnlocked: true,
|
||||
featureFlags: { sendHexData: true },
|
||||
rpcUrl: 'https://rawtestrpc.metamask.io/',
|
||||
identities: {
|
||||
'0xfdea65c8e26263f6d9a1b5de9555d2931a33b825': {
|
||||
address: '0xfdea65c8e26263f6d9a1b5de9555d2931a33b825',
|
||||
|
@ -7,7 +7,6 @@ export default function reduceMetamask(state = {}, action) {
|
||||
isInitialized: false,
|
||||
isUnlocked: false,
|
||||
isAccountMenuOpen: false,
|
||||
rpcUrl: 'https://rawtestrpc.metamask.io/',
|
||||
identities: {},
|
||||
unapprovedTxs: {},
|
||||
frequentRpcList: [],
|
||||
|
@ -5,7 +5,6 @@ const state = {
|
||||
isInitialized: true,
|
||||
isUnlocked: true,
|
||||
featureFlags: { sendHexData: true },
|
||||
rpcUrl: 'https://rawtestrpc.metamask.io/',
|
||||
identities: {
|
||||
'0xfdea65c8e26263f6d9a1b5de9555d2931a33b825': {
|
||||
address: '0xfdea65c8e26263f6d9a1b5de9555d2931a33b825',
|
||||
|
@ -8,8 +8,10 @@ describe('Redux actionConstants', function () {
|
||||
describe('SET_RPC_TARGET', function () {
|
||||
const initialState = {
|
||||
metamask: {
|
||||
rpcUrl: 'foo',
|
||||
frequentRpcList: [],
|
||||
provider: {
|
||||
rpcUrl: 'bar',
|
||||
},
|
||||
},
|
||||
appState: {
|
||||
currentView: {
|
||||
|
Loading…
Reference in New Issue
Block a user