Commit Graph
1 Commits
Author SHA1 Message Date
sneak 1c90c5a565 fix: a transaction history that lands after a network switch is dropped (closes #657)
check / check (push) Canceled after 0s
e2e / e2e-chrome (push) Canceled after 0s
e2e / e2e-firefox (push) Canceled after 0s
Home, AddressDetail and AddressToken note the active network before they
ask Blockscout for the transaction history. Each screen drops the answer
if another network is active on the page or in storage when it lands.
AddressDetail and AddressToken also drop it once the screen shows another
address, and AddressToken once it shows another token. A dropped answer
draws no rows and saves no fraud contracts.

storedNetworkIs() reads the stored network, beside storedSettingIsOn() in
src/shared/storedSettings.js. The address screens now run the ENS lookup
before the check, so a switch during that lookup is caught too.

Model: opus-5-5
2026-10-27 09:47:07 +00:00