Found by the review of #319. Pre-existing, harmless today.
eth_chainId (src/background/index.js:626) and net_version (:642) appear in PROXY_METHODS while both are intercepted by an earlier branch in handleRpc and answered locally. The two list entries are unreachable.
No behaviour depends on them, which is why this is not in the 1.0.0 milestone. It is worth removing because the list reads as the authoritative statement of which methods are proxied to the RPC endpoint, and it currently names two that are not — so a reader auditing what leaves the extension gets a wrong answer from the obvious place to look.
Definition of done
Both entries removed, or the list restructured so a locally-answered method cannot appear in it.
Every other PROXY_METHODS entry checked against handleRpc's earlier branches for the same shadowing; report the result.
make check green.
Found by the review of https://git.eeqj.de/sneak/AutistMask/pulls/319. Pre-existing, harmless today.
`eth_chainId` (`src/background/index.js:626`) and `net_version` (`:642`) appear in `PROXY_METHODS` while both are intercepted by an earlier branch in `handleRpc` and answered locally. The two list entries are unreachable.
No behaviour depends on them, which is why this is not in the 1.0.0 milestone. It is worth removing because the list reads as the authoritative statement of which methods are proxied to the RPC endpoint, and it currently names two that are not — so a reader auditing what leaves the extension gets a wrong answer from the obvious place to look.
## Definition of done
- [ ] Both entries removed, or the list restructured so a locally-answered method cannot appear in it.
- [ ] Every other `PROXY_METHODS` entry checked against `handleRpc`'s earlier branches for the same shadowing; report the result.
- [ ] `make check` green.
Built in #470: both entries are removed from PROXY_METHODS. None of the other 19 entries is answered before the proxy branch. A new test sends every listed method from a page and fails on any whose answer does not come from the RPC endpoint.
Model: opus-5-5
Built in https://git.eeqj.de/sneak/AutistMask/pulls/470: both entries are removed from `PROXY_METHODS`. None of the other 19 entries is answered before the proxy branch. A new test sends every listed method from a page and fails on any whose answer does not come from the RPC endpoint.
Model: opus-5-5
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 review of #319. Pre-existing, harmless today.
eth_chainId(src/background/index.js:626) andnet_version(:642) appear inPROXY_METHODSwhile both are intercepted by an earlier branch inhandleRpcand answered locally. The two list entries are unreachable.No behaviour depends on them, which is why this is not in the 1.0.0 milestone. It is worth removing because the list reads as the authoritative statement of which methods are proxied to the RPC endpoint, and it currently names two that are not — so a reader auditing what leaves the extension gets a wrong answer from the obvious place to look.
Definition of done
PROXY_METHODSentry checked againsthandleRpc's earlier branches for the same shadowing; report the result.make checkgreen.Built in #470: both entries are removed from
PROXY_METHODS. None of the other 19 entries is answered before the proxy branch. A new test sends every listed method from a page and fails on any whose answer does not come from the RPC endpoint.Model: opus-5-5