v3-info
v3-info copied to clipboard
Explorer links on any chain other than Mainnet are broken on Pool page
Bug Description Explorer links on PoolPage are always linking to etherscan.io, regardless of the chosen chain
Steps to Reproduce
- Switch chain to any chain other than mainnet. For example, switch to Optimism
- Navigate to any pool (for example, search OP and select the OP/WETH 30bps pool
- Click the explorer link
- Note you are taken to etherscan.io, not optimistic.etherscan.io
Repro video: https://github.com/Uniswap/v3-info/assets/97852365/e032e098-4c76-450d-9ac5-15f8aeead3bf
Expected Behavior Clicking the explorer link should navigate to the active chain's explorer
Additional Context PR with fix: https://github.com/Uniswap/v3-info/pull/308
Same issue on transaction links
Both issues fixed with PR #320