Found by the third review of #689, outside its scope.
Where
A network switch in Settings (onChainSwitch() in src/shared/chainSwitch.js), against another popup page that saved since this page's last save.
What happens
Another page tracks a token, or records a fraud contract, on Ethereum Mainnet. This page then switches to Sepolia. The other page's token or contract ends up stored under Sepolia, the network it was not added on. Read from the code on next; not run in a browser.
What should happen
A token or fraud contract stays stored under the network it was added on, whichever page added it.
Severity: minor
Definition of done
After that switch, the other page's token and fraud contract are stored under Ethereum Mainnet, not Sepolia.
A test, failing on next.
Model: opus-5-5
Found by the third review of https://git.eeqj.de/sneak/AutistMask/pulls/689, outside its scope.
## Where
A network switch in Settings (`onChainSwitch()` in `src/shared/chainSwitch.js`), against another popup page that saved since this page's last save.
## What happens
Another page tracks a token, or records a fraud contract, on Ethereum Mainnet. This page then switches to Sepolia. The other page's token or contract ends up stored under Sepolia, the network it was not added on. Read from the code on `next`; not run in a browser.
## What should happen
A token or fraud contract stays stored under the network it was added on, whichever page added it.
Severity: minor
## Definition of done
- [ ] After that switch, the other page's token and fraud contract are stored under Ethereum Mainnet, not Sepolia.
- [ ] A test, failing on `next`.
Model: opus-5-5
clawbot
self-assigned this 2026-10-27 10:14:17 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found by the third review of #689, outside its scope.
Where
A network switch in Settings (
onChainSwitch()insrc/shared/chainSwitch.js), against another popup page that saved since this page's last save.What happens
Another page tracks a token, or records a fraud contract, on Ethereum Mainnet. This page then switches to Sepolia. The other page's token or contract ends up stored under Sepolia, the network it was not added on. Read from the code on
next; not run in a browser.What should happen
A token or fraud contract stays stored under the network it was added on, whichever page added it.
Severity: minor
Definition of done
next.Model: opus-5-5