Skip to content

Fix totalDelegatedTokens and totalUnstakedLockedTokens and added pruning

Compare
Choose a tag to compare
@juanmardefago juanmardefago released this 29 Feb 13:55
· 11 commits to master since this release

Fixes:

  • Fixed GraphNetwork.totalDelegatedTokens
  • Fixed GraphNetwork.totalUnstakedTokensLocked
  • Fixed GraphAccountMetadata not being the same as in core network subgraph

Manifest changes:

  • Added auto pruning. This disables time travel queries.
  • Auto pruning settings:
    • 400 blocks for L1 (roughly over 1 hour on ethereum mainnet)
    • 15000 blocks for L2 (roughly over 1 hour on arbitrum one)
  • Bumped spec version to 1.0.0 to enable auto pruning

Dependencies changes:

  • Bumped contracts package from 5.3.3 to 6.2.0
  • Bumped graph-cli package from 0.48.0 to 0.68.0
  • Bumped graph-ts package from 0.29.3 to 0.32.0

Breaking changes:

  • Auto pruning removes support for time travel queries older than the specified blocks for L1 (400) and L2 (15000). This breaks any app relying on historical data from this subgraph.