feat(browser wallet): show target network on signing requests
Component
Cast, Forge
Describe the feature you would like
Please show the transaction's target network (name and chain ID) prominently on the browser signing request page, alongside the connected wallet's current network, before the user clicks Sign & Send. Today the Connected panel shows the wallet's chain, while Transaction to Sign & Send renders the request as raw JSON. The requested network is easy to miss there.
When the chain IDs differ, show that Foundry is requesting a switch. If the wallet rejects the switch or cannot switch, keep the target network visible and tell the user which network to select manually. Refresh the display after a successful switch so the user can confirm where they're signing.
cast send --browser already auto-switches via #15608 (which closed #14641). This request is for a clear network preview and actionable switch feedback in the shared browser signing UI, including browser signing flows where switching isn't automatic.
Additional context
The current browser signing UI shows the connected chain and then the pending transaction JSON. The chain-switch handler calls wallet_switchEthereumChain, but its progress and failures aren't shown on the page.
Source: foundry-rs/foundry