Skip to content

Replace treasury data fetch with subgraph query #419

@rickstaa

Description

@rickstaa

Is your feature request related to a problem?

Right now we use RPC calls to get information about treasury proposal (see

const votes = await l2PublicClient
). This makes the endpoint sensitive to RPC outages, rate limits, and node lag.

Describe the solution you'd like

Since treasury proposal + voting information does not need to be strictly real-time on a per-block basis, it’s a good candidate to move over to the Livepeer Subgraph when this upstream pull request has been merged.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

dataIssues related to data fetch and displayenhancementIncremental improvement to existing functionality.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions