Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tommasini committed Jul 12, 2024
1 parent a52c409 commit b662b86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ function render(Component: React.ComponentType, chainId?: string) {
chainId: '0x89',
nickname: 'Polygon Mainnet',
rpcPrefs: { blockExplorerUrl: 'https://polygonscan.com' },
rpcUrl:
'https://polygon-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://polygon-mainnet.infura.io/v3/12345',
ticker: 'MATIC',
},
},
Expand Down
6 changes: 2 additions & 4 deletions app/components/Views/NetworkSelector/NetworkSelector.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,14 @@ const initialState = {
chainId: '0x89',
nickname: 'Polygon Mainnet',
rpcPrefs: { blockExplorerUrl: 'https://polygonscan.com' },
rpcUrl:
'https://polygon-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://polygon-mainnet.infura.io/v3/12345',
ticker: 'MATIC',
},
networkId3: {
chainId: '0xa',
nickname: 'Optimism',
rpcPrefs: { blockExplorerUrl: 'https://optimistic.etherscan.io' },
rpcUrl:
'https://optimism-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://optimism-mainnet.infura.io/v3/12345',
ticker: 'ETH',
},
networkId4: {
Expand Down
12 changes: 4 additions & 8 deletions app/store/migrations/020.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ describe('Migration #20', () => {
chainId: '137',
nickname: 'Polygon Mainnet',
rpcPrefs: { blockExplorerUrl: 'https://polygonscan.com' },
rpcUrl:
'https://polygon-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://polygon-mainnet.infura.io/v3/12345',
ticker: 'MATIC',
},
{
Expand All @@ -193,8 +192,7 @@ describe('Migration #20', () => {
rpcPrefs: {
blockExplorerUrl: 'https://optimistic.etherscan.io',
},
rpcUrl:
'https://optimism-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://optimism-mainnet.infura.io/v3/12345',
ticker: 'ETH',
},
],
Expand Down Expand Up @@ -222,8 +220,7 @@ describe('Migration #20', () => {
chainId: '137',
nickname: 'Polygon Mainnet',
rpcPrefs: { blockExplorerUrl: 'https://polygonscan.com' },
rpcUrl:
'https://polygon-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://polygon-mainnet.infura.io/v3/12345',
ticker: 'MATIC',
},
networkId3: {
Expand All @@ -232,8 +229,7 @@ describe('Migration #20', () => {
rpcPrefs: {
blockExplorerUrl: 'https://optimistic.etherscan.io',
},
rpcUrl:
'https://optimism-mainnet.infura.io/v3/cda392a134014865ad3c273dc7ddfff3',
rpcUrl: 'https://optimism-mainnet.infura.io/v3/12345',
ticker: 'ETH',
},
},
Expand Down

0 comments on commit b662b86

Please sign in to comment.