Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed Mar 4, 2024
1 parent b8c8b4b commit f143250
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/name-controller/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const CHAIN_IDS = {
BSC: '0x38',
BSC_TESTNET: '0x61',
OPTIMISM: '0xa',
OPTIMISM_TESTNET: '0xaa37dc',
OPTIMISM_SEPOLIA: '0xaa37dc',
POLYGON: '0x89',
POLYGON_TESTNET: '0x13881',
AVALANCHE: '0xa86a',
Expand Down Expand Up @@ -58,7 +58,7 @@ export const ETHERSCAN_SUPPORTED_NETWORKS = {
domain: DEFAULT_ETHERSCAN_DOMAIN,
subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-optimistic`,
},
[CHAIN_IDS.OPTIMISM_TESTNET]: {
[CHAIN_IDS.OPTIMISM_SEPOLIA]: {
domain: DEFAULT_ETHERSCAN_DOMAIN,
subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-sepolia-optimistic`,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export function getDefaultPreferencesState() {
[ETHERSCAN_SUPPORTED_CHAIN_IDS.BSC]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.BSC_TESTNET]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.OPTIMISM]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.OPTIMISM_TESTNET]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.OPTIMISM_SEPOLIA]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.POLYGON]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.POLYGON_TESTNET]: true,
[ETHERSCAN_SUPPORTED_CHAIN_IDS.AVALANCHE]: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/preferences-controller/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const ETHERSCAN_SUPPORTED_CHAIN_IDS = {
BSC: '0x38',
BSC_TESTNET: '0x61',
OPTIMISM: '0xa',
OPTIMISM_TESTNET: '0xaa37dc',
OPTIMISM_SEPOLIA: '0xaa37dc',
POLYGON: '0x89',
POLYGON_TESTNET: '0x13881',
AVALANCHE: '0xa86a',
Expand Down
6 changes: 3 additions & 3 deletions packages/transaction-controller/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const CHAIN_IDS = {
BSC: '0x38',
BSC_TESTNET: '0x61',
OPTIMISM: '0xa',
OPTIMISM_TESTNET: '0xaa37dc',
OPTIMISM_SEPOLIA: '0xaa37dc',
POLYGON: '0x89',
POLYGON_TESTNET: '0x13881',
AVALANCHE: '0xa86a',
Expand Down Expand Up @@ -58,7 +58,7 @@ export const ETHERSCAN_SUPPORTED_NETWORKS = {
domain: DEFAULT_ETHERSCAN_DOMAIN,
subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-optimistic`,
},
[CHAIN_IDS.OPTIMISM_TESTNET]: {
[CHAIN_IDS.OPTIMISM_SEPOLIA]: {
domain: DEFAULT_ETHERSCAN_DOMAIN,
subdomain: `${DEFAULT_ETHERSCAN_SUBDOMAIN_PREFIX}-sepolia-optimistic`,
},
Expand Down Expand Up @@ -106,5 +106,5 @@ export const ETHERSCAN_SUPPORTED_NETWORKS = {

export const GAS_BUFFER_CHAIN_OVERRIDES = {
[CHAIN_IDS.OPTIMISM]: 1,
[CHAIN_IDS.OPTIMISM_TESTNET]: 1,
[CHAIN_IDS.OPTIMISM_SEPOLIA]: 1,
};

0 comments on commit f143250

Please sign in to comment.