Skip to content

Releases: graphprotocol/indexer

v0.12.0

06 Apr 19:50
Compare
Choose a tag to compare

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.12.0
docker pull ghcr.io/graphprotocol/indexer-service:v0.12.0
docker pull connextproject/vector_node:0.2.1

Changes (Overview)

The main change in this release is the update to Vector 0.2.1. This requires updating the Vector node itself but also involves a change in the Vector config, primarily the addition of authUrl and natsUrl:

{
  "adminToken": "<secret token of your choice, keep to yourself>",
  "chainProviders": {
    "4": "<some rinkeby Ethereum node/provider"
  },
  "nodeUrl": "<internal URL of the Vector node in your infrastructure>",
  "logLevel": "info",
  "natsUrl": "nats://nats1.connext.provide.network:4222,nats://nats2.connext.provide.network:4222,nats://nats3.connext.provide.network:4222",
  "authUrl": "https://messaging.connext.network",
  "messagingUrl": "https://messaging.connext.network",
  "production": true,
  "baseGasSubsidyPercentage": 0,
  "allowedSwaps": [],
  "skipCheckIn": true,
  "mnemonic": "<the same as INDEXER_AGENT_MNEMONIC>"
}

Changes (Per Component)

Indexer Agent

Changed

  • Update common-ts and ethers

Indexer CLI

Changed

  • Update common-ts and ethers

Indexer Common

Changed

  • Update common-ts, vector and ethers

Indexer Service

Changed

  • Update common-ts, vector and ethers

v0.11.0

31 Mar 16:19
Compare
Choose a tag to compare

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

v0.10.0

29 Jan 15:05
Compare
Choose a tag to compare

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.10.0
docker pull ghcr.io/graphprotocol/indexer-service:v0.10.0

Changes

Indexer Agent

Changed

  • Update common-ts to 1.3.0 to include new testnet contracts

Indexer CLI

Changed

  • Update common-ts to 1.3.0 to include new testnet contracts

Indexer Common

Changed

  • Update common-ts to 1.3.0 to include new testnet contracts

Indexer Service

Changed

  • Update common-ts to 1.3.0 to include new testnet contracts

v0.9.5

16 Jan 15:31
Compare
Choose a tag to compare

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.9.5
docker pull ghcr.io/graphprotocol/indexer-service:v0.9.5

Changes

Indexer Agent

Fixed

  • Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)

Changed

  • Update common-ts to 1.2.1

Indexer CLI

Fixed

  • Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)

Changed

  • Update common-ts to 1.2.1

Indexer Common

Fixed

  • Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)

Changed

  • Update common-ts to 1.2.1

Added

  • Validate cost models in setCostModel (#182)

Indexer Service

Fixed

  • Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)

Changed

  • Update common-ts to 1.2.1

v0.9.4

13 Jan 16:33
Compare
Choose a tag to compare

NPM

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

Docker

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

Changes

Indexer Agent

  • Never close allocations if the POI is zero or null (#186)
  • Retry obtaining a POI 10 times before giving up.

Indexer CLI

No changes

Indexer Common

No changes

Indexer Service

No changes

v0.9.3

11 Jan 22:19
Compare
Choose a tag to compare

IMPORTANT: Use in combination with graph-node 0.21.1.

NPM

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

Docker

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

Changes

Indexer Agent

Fixed

  • Fix how query fee threshold is passed to claimable allocations query

Indexer CLI

No changes

Indexer Common

No changes

Indexer Service

No changes

v0.9.2

11 Jan 22:18
Compare
Choose a tag to compare

NPM

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

Docker

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

Changes

Indexer Agent

Added

  • Add --allocation-claim-threshold option for configure a GRT amount below which the agent should not attempt to claim rebate (query) rewards

Fixed

  • Synchronize data independently using different intervals and reconcile reliably every 2 minutes
  • Submit proof of indexing for the first block of the current epoch
  • Reliably obtain proof of indexing by passing block number to proofOfIndexing API (#186)

Changed

  • Update common-ts to 1.2.0

Indexer CLI

Changed

  • Update common-ts to 1.2.0

Indexer Common

Changed

  • Update common-ts to 1.2.0

Indexer Service

Changed

  • Update common-ts to 1.2.0

v0.9.1

31 Dec 00:01
Compare
Choose a tag to compare

Packages and Images

NPM

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

Docker

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

Changes

Indexer Agent

Changed

  • Register after having the network subgraph synced

Indexer Service

Fixed

  • Fix uncaught holdings(bytes32) exceptions by disabling the state channels ChainService for now

v0.9.0

22 Dec 14:31
Compare
Choose a tag to compare
v0.9.0

v0.9.0-alpha.4

20 Dec 00:22
Compare
Choose a tag to compare

Packages and images

NPM

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

Docker

docker pull graphprotocol/indexer-agent:sha-0cdfaef
docker pull graphprotocol/indexer-service:sha-0cdfaef

Indexer Agent

Fixed

  • Fix race condition between registering and pause/operator detection (#167)