mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
2647be9662
* Ensure one and only one localhost option appears in network list * Fix unit tests
26 lines
509 B
JavaScript
26 lines
509 B
JavaScript
/**
|
|
* @typedef {Object} FirstTimeState
|
|
* @property {Object} config Initial configuration parameters
|
|
* @property {Object} NetworkController Network controller state
|
|
*/
|
|
|
|
/**
|
|
* @type {FirstTimeState}
|
|
*/
|
|
const initialState = {
|
|
config: {},
|
|
PreferencesController: {
|
|
frequentRpcListDetail: [
|
|
{
|
|
rpcUrl: 'http://localhost:8545',
|
|
chainId: '0x539',
|
|
ticker: 'ETH',
|
|
nickname: 'Localhost 8545',
|
|
rpcPrefs: {},
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default initialState;
|