Skip to content

Commit

Permalink
chore: remove trailing slash from base urls (#5214)
Browse files Browse the repository at this point in the history
### Description

Small nit fix to baseUrls to avoid `//` in urls.

### Test plan

Tested locally on iOS

### Related issues

N/A

### Backwards compatibility

Yes

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [x] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
  • Loading branch information
MuckT committed Apr 10, 2024
1 parent 4dbd46d commit af80717
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/web3/networkConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,14 @@ const ETHERSCAN_BASE_URL_MAINNET = 'https://etherscan.io'
const ARBISCAN_BASE_URL_ONE = 'https://arbiscan.io'
const ARBISCAN_BASE_URL_SEPOLIA = 'https://sepolia.arbiscan.io'

const OP_MAINNET_EXPLORER_BASE_URL = 'https://optimistic.etherscan.io/'
const OP_SEPOLIA_EXPLORER_BASE_URL = 'https://sepolia-optimism.etherscan.io/'
const OP_MAINNET_EXPLORER_BASE_URL = 'https://optimistic.etherscan.io'
const OP_SEPOLIA_EXPLORER_BASE_URL = 'https://sepolia-optimism.etherscan.io'

const POLYGON_POS_BASE_URL_MUMBAI = 'https://mumbai.polygonscan.com/'
const POLYGON_POS_BASE_URL_MAINNET = 'https://polygonscan.com/'
const POLYGON_POS_BASE_URL_MUMBAI = 'https://mumbai.polygonscan.com'
const POLYGON_POS_BASE_URL_MAINNET = 'https://polygonscan.com'

const BASE_BASE_URL_SEPOLIA = 'https://sepolia.basescan.org/'
const BASE_BASE_URL_MAINNET = 'https://basescan.org/'
const BASE_BASE_URL_SEPOLIA = 'https://sepolia.basescan.org'
const BASE_BASE_URL_MAINNET = 'https://basescan.org'

export const blockExplorerUrls: BlockExplorerUrls = {
[NetworkId['celo-mainnet']]: {
Expand Down

0 comments on commit af80717

Please sign in to comment.