mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
A cursor is only meaningful for the trust root it was read with. Change the factory and every PoolCreated it ever emitted is already behind the cursor, so the new address is never seen and the old rows stay — the store keeps answering for a book that is not on this chain. Zoo mainnet sat that way. Its declared V3 factory held no code; the real one, at the address Lux uses, has twelve pools. Correcting the address alone would have changed nothing, because the cursor was at the tip. So the source is part of the store's identity, exactly as the genesis hash is part of the chain's, and a change to either rewinds. An unrecorded source is unknown rather than different: every store written before this has none, and reading that as a change would re-read a million blocks on Lux to rebuild rows that are already right. Co-authored-by: Hanzo Dev <[email protected]>