superfluid-finance / protocol-monorepo

Superfluid Protocol Monorepo: the specification, implementations, peripherals and development kits.
https://www.superfluid.finance
Other
875 stars 239 forks source link

[subgraph] configurable history pruning #1954

Closed kasparkallas closed 5 months ago

kasparkallas commented 5 months ago

Why?

We want to index subgraphs to Goldsky with less entities created in the database.

How?

To do so, we will indroduce history pruning.

Other

Updated subgraph tooling and spec.

Warning!

If you rely on time-travel queries then this will be a breaking change. Contact us if you need continued access to time-travel queries!

Example of a time-travel query:

{
  challenges(block: { number: 8000000 }) {
    challenger
    outcome
    application {
      id
    }
  }
}

Read more:

github-actions[bot] commented 5 months ago

Changelog Reminder

Reminder to update the CHANGELOG.md for any of the modified packages in this PR.

github-actions[bot] commented 5 months ago

XKCD Comic Relif

Link: https://xkcd.com/1954 https://xkcd.com/1954