At the moment, we don't differentiate real Mainnet/Sepolia from those created by Devnet, since chain_id is the same. Thus, after commiting a transaction, Cast displays invalid links to block explorer pages.
Additional logic to block explorer printer should be added to supress it from providing links to transactions made on Devnet.
Potential directions:
Analyze URL (works on localhost, but not e.g. in Docker)
Which component is the issue related to?
Cast
Issue
At the moment, we don't differentiate real Mainnet/Sepolia from those created by Devnet, since
chain_id
is the same. Thus, after commiting a transaction, Cast displays invalid links to block explorer pages.Additional logic to block explorer printer should be added to supress it from providing links to transactions made on Devnet. Potential directions: