yearn / yearn.fi

https://yearn.fi
GNU General Public License v3.0
22 stars 48 forks source link

Bug: Vault link to etherscan on OP #83

Closed spalen0 closed 1 year ago

spalen0 commented 1 year ago

What happened 🆘

On a specific vault page, there is a button that leads to etherscan with a predefined address of the vault. This works for mainnet, but if you are on optimism, it will lead you to etherscan mainnet instead of optimism etherscan.

To Reproduce 🔂

Steps to reproduce the behavior: Here is a link to optimism vault: https://yearn.finance/vaults/10/0xb4E4CFA9971C7e1069685771DaB61CA56e72e5C3

Click on the button and it will lead you to etherscan mainnet address:

Screenshot 2023-03-02 at 12 23 46

More 🔎

Aribtrum and Fantom work as expected

karelianpie commented 1 year ago

@spalen0 thank you for reporting this bug, it's now fixed! 🙇