All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.0 - 2021-01-29
- Update common-ts to 1.3.0 to include new testnet contracts
0.9.5 - 2021-01-16
- Update ethers to 5.0.26 to avoid unresolved promise rejections (#183)
- Update common-ts to 1.2.1
0.9.4 - 2021-01-13
- Never close allocations if the POI is zero or null (#186)
- Retry obtaining a POI ten times before giving up
0.9.3 - 2021-01-11
- Fix how query fee threshold is passed to claimable allocations query
0.9.2 - 2021-01-09
- Add
--allocation-claim-threshold
option for configure a GRT amount below which the agent should not attempt to claim rebate (query) rewards
- 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)
- Update common-ts to 1.2.0
0.9.1 - 2020-12-31
- Register after having the network subgraph synced
0.9.0-alpha.4 - 2020-12-20
- Fix race condition between registering and pause/operator detection (#167)
0.9.0-alpha.3 - 2020-12-19
- Use 1.5x the estimated gas to avoid transactions running out of gas
- Default to mainnet instead of rinkeby in
--ethereum-network
- Add
--dai-contract
/INDEXER_AGENT_DAI_CONTRACT
to set the stablecoint for--inject-dai
0.4.5 - 2020-12-15
- Retry network synchronization (#146)
- Index but don't allocate towards network subgraph
0.4.4 - 2020-12-14
- Allow non-HTTPS/insuecure Ethereum connections
- Catch and log unhandled promise rejections and exceptions instead of crashing
- Allow Ethereum network to be configured, avoiding fallible network detection in ethers.js
0.4.3 - 2020-12-07
- Fix incorrect error code used in database migrations
- Decouple claiming rewards from updating allocations
- Don't abort reconciling if removing a deployment fails
- Never fail reconciling early
- Fix zero allocation amount log messages
- Catch more unauthorized transactions
- Only queue transactions after checking paused and operator status
- Do nothing if not an operator
- Fix indexer === operator detection
- Use StaticJsonRpcProvider to reduce Ethereum requests
- Lengthen network synchronization interval to 120s
- Improve log message for already closed allocations
- Add
eth_provider_requests
metric to track Ethereum requests
0.4.2 - 2020-11-30
- Fix signing allocation ID proofs with the corresponding private key
0.4.1 - 2020-11-27
- Fix GDAI token address
0.4.0 - 2020-11-27
- Add migration to reset state channels
- Update common-ts to 0.4.0
0.3.7-alpha.8 - 2020-11-27
- Make use of the new indexer error codes
0.3.7-alpha.7 - 2020-11-27
- Increase network synchronization intervals
0.3.7-alpha.0 - 2020-11-17
- Add
--restake-rewards
option for choosing what to do with indexing rewards
- Update
@graphprotocol/common-ts
to 0.3.13
0.3.6 - 2020-11-11
- Document that --index-node-ids are comma-separated
- Update network subgraph deployment
- Fix caching of indexing status queries
- Fix submitting a non-zero PoI on incompatible networks
0.3.4 - 2020-10-29
- Update and pin all dependencies
0.3.3 - 2020-10-28
- Fix not creating any allocations at all anymore
- Add database migrations
- Rename
$DAI
injection flag to--inject-dai
0.3.2 - 2020-10-27
- Don't try to allocate zero or negative GRT amounts
- Submit random POI, if cannot create one, to allow testing of indexer rewards distribution on testnet
- Add optional GDAI/GRT variable automation
- Include metrics for the GRT<->DAI conversion rate in both directions
- Reduce failed allocate txs by improving allocation id collision resistence
- Increase effective allocations limit (100 -> 1000)
- Validate allocation ID with contract before sending an allocate() tx
0.3.1 - 2020-10-15
- Update common-ts to 0.3.3
0.3.0 - 2020-10-13
- Fix ethers incompatibilities
- Avoid closing allocations repeatedly
- Fix
INDEXER_AGENT_INDEXER_GEO_COORDINATES
environment variable (#58)
- Implement reconciliation loop using eventuals
- Improve synchronization comments
- Update common-ts to 0.3.2
- Update contracts to 0.7.5-testnet-phase2
- Add full support for managing allocations as an operator
- Generate unique but deterministic allocation IDs
- Handle network pausing
- Submit POI when closing allocations
- Claim rebate rewards for finalized allocations
- Log contract addresses when connecting to the network
- Add --indexer-address to declare which indexer is being operated for
- Remove staking (indexers need to do it, operators cannot)
0.2.6 - 2020-10-13
- Avoid settling allocations that are already settled on chain
- Fix input validation of geo coordinates
- Use new indexer-common library
- Update common-ts, server-wallet and ethers
0.2.5 - 2020-09-01
- Depend on @graphprotocol/common-ts from npmjs.org
0.2.4 - 2020-09-01
- Support
--graph-node-admin-endpoint
over HTTPS - Terraform: Allow to configure preemptible worker nodes
- Settle allocations only after at least one epoch has passed
- Reconcile deployments and allocations every ~10+ seconds
- Show and use correct token/allocation amounts everywhere
- Update @graphprotocol/common-ts to 0.2.4
0.2.3 - 2020-08-27
- Re-register indexer when geohash differs
- Update @graphprotocol/common-ts to 0.2.3
- Indexer agent fails to detect GRT approval
- Update @graphprotocol/common-ts to 0.2.2