Skip to content

feat(subgraph): mark pieces as inactive when the pdpPaymentEndEpoch has passed #579

@dennis-tra

Description

@dennis-tra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    🐱 Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions