Skip to content

Commit

Permalink
Remove rest of goerli references
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgoth committed Apr 29, 2024
1 parent b2ce440 commit 5bf0f12
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 33 deletions.
5 changes: 0 additions & 5 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ module.exports = {
timeout: 2000000,
chainId: 31337
},
goerli: {
url: 'http://127.0.0.1:8545',
timeout: 2000000,
chainId: 31337
},
arbTestnet: {
url: 'http://127.0.0.1:8546',
timeout: 2000000,
Expand Down
1 change: 0 additions & 1 deletion lib/theme/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const icons = {
Trezor: brandIcons.trezor,
Ledger: brandIcons.ledger,
Mainnet: brandIcons.ether_circle_color,
Goerli: brandIcons.ether_circle_color,
Tenderly: brandIcons.ether_circle_color,
play: {
path: (
Expand Down
19 changes: 0 additions & 19 deletions modules/contracts/eth-sdk.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,6 @@ const config: EthSdkConfig = {
voteProxyFactoryOld: '0xa63E145309cadaa6A903a19993868Ef7E85058BE',
vow: '0xA950524441892A31ebddF91d3cEEFa04Bf454466'
},
goerli: {
chief: '0x33Ed584fc655b08b2bca45E1C5b5f07c98053bC1',
dai: '0x11fe4b6ae13d2a6055c8d9cf65c55bac32b5d844',
// This is an arbitrary spell address that must be changed with each implementation
dssSpell: '0xc4BCED0F4f141915dcCE58DbAB2D2DEe88af472B',
end: '0xb82F60bAf6980b9fE035A82cF6Acb770C06d3896',
esm: '0x023A960cb9BE7eDE35B433256f4AfE9013334b55',
iou: '0x651D1B91e4F657392a51Dba7A6A1A1a72eC6aD1c',

mkr: '0xc5e4eab513a7cd12b2335e8a0d57273e13d499f7',
pause: '0xefcd235B1f13e7fC5eab1d05C910d3c390b3439F',
pauseProxy: '0x5DCdbD3cCF9B09EAAD03bc5f50fA2B3d3ACA0121',
polling: '0xdbE5d00b2D8C13a77Fb03Ee50C87317dbC1B15fb',
pot: '0x50672F0a14B40051B65958818a7AcA3D54Bd81Af',
vat: '0xB966002DDAa2Baf48369f5015329750019736031',
voteDelegateFactory: '0xE2d249AE3c156b132C40D07bd4d34e73c1712947',
voteProxyFactory: '0x1a7c1ee5eE2A3B67778ff1eA8c719A3fA1b02b6f',
vow: '0x23f78612769b9013b3145E43896Fa1578cAa2c2a'
},
arbitrumSepolia: {
polling: ArbitrumPollingAddressMap['sepolia']
},
Expand Down
6 changes: 2 additions & 4 deletions modules/web3/helpers/getContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { getGoerliSdk, getMainnetSdk } from '@dethcrypto/eth-sdk-client';

import { getMainnetSdk } from '@dethcrypto/eth-sdk-client';
import { providers } from 'ethers';
import { CHAIN_INFO, DEFAULT_NETWORK } from '../constants/networks';
import { SupportedChainId } from '../constants/chainID';
Expand All @@ -18,8 +17,7 @@ import { EthSdk, SdkGenerators } from '../types/contracts';

const sdkGenerators: SdkGenerators = {
mainnet: getMainnetSdk,
tenderly: getMainnetSdk,
goerli: getGoerliSdk
tenderly: getMainnetSdk
};

let connectedAccount: string | undefined;
Expand Down
6 changes: 2 additions & 4 deletions modules/web3/helpers/getReadOnlyContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { providers } from 'ethers';
import { getGoerliSdk, getMainnetSdk } from '@dethcrypto/eth-sdk-client';

import { getMainnetSdk } from '@dethcrypto/eth-sdk-client';
import { SupportedNetworks } from '../constants/networks';
import { EthSdk, SdkGenerators } from '../types/contracts';

const sdkGenerators: SdkGenerators = {
mainnet: getMainnetSdk,
tenderly: getMainnetSdk,
goerli: getGoerliSdk,
tenderly: getMainnetSdk
};

let currentNetwork: string | undefined;
Expand Down

0 comments on commit 5bf0f12

Please sign in to comment.