Skip to content

v0.11.0

Compare
Choose a tag to compare
@Jannis Jannis released this 31 Mar 16:19
· 873 commits to main since this release

NPM

npm install -g @graphprotocol/[email protected]
npm install -g @graphprotocol/[email protected]
npm install -g @graphprotocol/[email protected]

Note: Installing these packages requires Rust and it's package manager cargo to be installed so that the cost model module can be built. Installing the above packages may require passing --unsafe-perm=true to the above install commands.

Docker

docker pull ghcr.io/graphprotocol/indexer-agent:v0.11.0
docker pull ghcr.io/graphprotocol/indexer-service:v0.11.0

Changes (Overview)

  1. This release introduces an update to the payment system that requires deploying a Vector server node. The kubernetes example setup and the network instructions have been updated accordingly.

    Make sure to not expose the Vector node to the public. In order to work correctly, Indexer Service and Indexer Agent need to know the indexer-internal URL / IP / hostname of the Vector node. Indexer Agent will need to register its own indexer-internal URL (including port 8001 by default) with the Vector node to be able to listen to events.

    The new command line arguments to configure Indexer Agent and Service are documented in the network instructions.

  2. This release also introduces resubmitting transactions with higher gas prices if they appear to be stuck. This can be tweaked in Indexer Agent with the following CLI arguments (or their corresponding environment variables):

    • --gas-increase-timeout
    • --gas-increase-factor
    • --gas-price-max
    • --transaction-attempts

    For details, see the usage help.

Changes (Per Component)

Indexer Agent

Added

  • Add --offchain-subgraphs to index subgraph deployments that are not on chain
  • Add --poi-monitoring (experimental) to monitor and cross-check POIs submitted in the network
  • Add database migration to remove old state channel tables
  • Resubmit transactions with higher gas price if they are not mined

Changed

  • Updates to the payment system
  • Update @graphprotocol/common-ts to 1.3.2 (equality fix in eventuals, latest contracts)

Indexer CLI

Added

  • Add graph indexer disputes get command to list potentially disputable POIs in the network.

Changed

  • Update @graphprotocol/common-ts to 1.3.

Indexer Common

Added

  • Add POI disputes to the indexer management API
  • Add error types new payments system updates
  • Add error types for POI disputes
  • Add error types for transaction management

Changed

  • Updates to the payment system
  • Update @graphprotocol/common-ts to 1.3.2 (equality check fix in eventuals, latest contracts

Indexer Service

Added

  • Add /operator/info endpoint for retrieving operator data such as the public key

Changed

  • Updates to the payment system
  • Update @graphprotocol/common-ts to 1.3.2 (equality fix in eventuals, latest contracts)
  • Add optional Google Cloud profiling through --gcloud-profiling