Done Criteria
The subgraph code marks pieces as isActive: false when their pdpPaymentEndEpoch has passed.
Why is it important?
This allows us to filter anon pieces directly by that flag and avoid that we're querying expired pieces. Right now we're a doing it opportunistically by just querying again with a different random sample key (anon-piece-selector.service.ts:L149).
References
Done Criteria
The subgraph code marks pieces as
isActive: falsewhen theirpdpPaymentEndEpochhas passed.Why is it important?
This allows us to filter anon pieces directly by that flag and avoid that we're querying expired pieces. Right now we're a doing it opportunistically by just querying again with a different random sample key (
anon-piece-selector.service.ts:L149).References