Skip to content

Conversation

@trizin
Copy link
Contributor

@trizin trizin commented Nov 6, 2025

This pull request introduces a consistent filtering of "paused" contracts across all subgraph queries, ensuring that by default only active contracts are included in analytics, payouts, and reporting. Additionally, it adds a new CLI option to allow users to include paused contracts when claiming payouts, and updates the payout logic and tests to support this feature.

@trizin trizin added the Status: Blocked Blocked by dependency, platform requirement, etc (add comment to detail the reason) label Nov 7, 2025
@trizin
Copy link
Contributor Author

trizin commented Nov 7, 2025

Blocked by #1751

@trizin trizin changed the base branch from main to rename-ocean-token-to-prediction-token November 10, 2025 20:25
@trizin trizin requested a review from KatunaNorbert November 10, 2025 22:34
@trizin trizin marked this pull request as ready for review November 10, 2025 22:34
@trizin trizin removed the Status: Blocked Blocked by dependency, platform requirement, etc (add comment to detail the reason) label Nov 11, 2025
NATIVE_TOKEN = True


class _INCLUDE_PAUSED:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest renaming this to '_INCLUDE_PAUSED_FALSE'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easier to read, but not a mandatory change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But why would we add "false" to the end? I don't get it

@trizin trizin requested a review from trentmc November 11, 2025 11:05
Copy link
Member

@trentmc trentmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only did a cursory review. Good to see that you have unit tests:)

@trizin trizin requested a review from trentmc December 1, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update subgraph functions and calls to filter out Paused prediction contracts, everywhere that calls predictContracts

4 participants