Skip to content

Releases: graphprotocol/graph-network-analytics-subgraph

Performance improvements

24 May 18:40
Compare
Choose a tag to compare

Schema changes:

  • Replaced almost all entity IDs with Bytes. Only GraphAccountName still uses ID because of how the id itself was generated.
  • Replaced all usages of String to represent entity links with the newly corresponding Bytes
  • By replacing ID with Bytes, the IDs themselves have been altered, so they will not match with previous implementations or with the core network subgraph currently (since it still uses String/ID IDs)
  • Transaction entities are now immutable
  • IndexerDelegatedStakeRelation now only has an ID and a link to the indexer, for performance purposes when handling indexers with lots of delegations

Tests:

  • Added a small test to make sure our new Bytes based ID approach works correctly.

Fix totalDelegatedTokens and totalUnstakedLockedTokens and added pruning

29 Feb 13:55
Compare
Choose a tag to compare

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.

File Data Sources refactor

23 Jan 13:53
Compare
Choose a tag to compare

Add support for IPFS fetching of files using the latest File Data Source approach

Fix Exponential Rebates

07 Dec 03:36
Compare
Choose a tag to compare
v0.22.1

fix: missing RebateCollected

Exponential rebates and Sepolia support

30 Nov 16:22
Compare
Choose a tag to compare
v0.22.0

feat: fix getAllocation

Performance improvements

18 Sep 22:20
Compare
Choose a tag to compare

Decreased the amount of times we do batch updates for delegator data.
Refactored the logic for batch updates to use the new feature for derived fields.

L2 transfer tools support

22 Aug 13:49
Compare
Choose a tag to compare

Adds support for L2 transfer tools like in the core network subgraph, but mainly to avoid having bad leftover state from the transfers.

Fix Arbitrum workflow

14 Apr 13:41
Compare
Choose a tag to compare
v0.19.1

fix: arbitrum workflow

Arbitrum ENS issue hotfix

14 Apr 13:39
Compare
Choose a tag to compare
v0.19.0

fix: ensure ENS address is always present