v0.25.0
Api Version 0.0.6
This release ships support for API version 0.0.6 in mappings:
- Added
noncefield forTransactionobjects. - Added
baseFeePerGasfield forBlockobjects (EIP-1559).
Block Cache Invalidation and Reset
All cached block data must be refetched to account for the new Block and Trasaction
struct versions, so this release includes a graph-node startup check that will:
- Truncate all block cache tables.
- Bump the
db_versionvalue from2to3.
(Table truncation is a fast operation and no downtime will occur because of that.)
Ethereum
- 'Out of gas' errors on contract calls are now considered deterministic errors,
so they can be handled bytry_calls. The gas limit is 50 million.
Environment Variables
- The
GRAPH_ETH_CALL_GASenvironment is removed to prevent misuse, its value
is now hardcoded to 50 million.
Multiblockchain
- Initial support for NEAR subgraphs.
- Added
FirehoseBlockStreamimplementation ofBlockStream(#2716)
Misc
- Rust docker image is now based on Debian Buster.
- Optimizations to the PostgreSQL notification queue.
- Improve PostgreSQL robustness in multi-sharded setups. (#2815)
- Added 'networks' to the 'subgraphFeatures' endpoint. (#2826)
- Check and limit the size of GraphQL query results. (#2845)
- Allow
_inand_not_inGraphQL filters. (#2841) - Add PoI for failed subgraphs. (#2748)
- Make
graphman rewindsafer to use. (#2879) - Add
subgraphErrorsfor all GraphQL schemas. (#2894) - Add
Graph-Attestableresponse header. (#2946) - Add support for minimum block constraint in GraphQL queries (
number_gte) (#2868). - Handle revert cases from Hardhat and Ganache (#2984)
- Fix bug on experimental prefetching optimization feature (#2899)