A guard that reads every edit
An opt-in check reads the lines the agent just wrote for 10 Arc mistakes, each tied to a docs page. Advisory: your edit is kept.
import { arcTestnet } from "viem/chains"; const USDC = "0x3600000000000000000000000000000000000000";const transfer = parseAbiItem("event Transfer(address indexed from, address indexed to, uint256 value)"); const logs = await client.getLogs({ address: USDC, event: transfer, args: { to }, fromBlock, toBlock,});
stable-build guard: 1 Arc gotcha in src/history.ts (transfer-filter-no-emitter) — advisory, edit kept
Native USDC sends log only from the system emitter, so this filter misses them. Why, on docs.arc.io