github graphprotocol/graph-node v0.35.1

latest releases: fraction2, canary-ef0cf72
3 months ago

New subgraph features

  • Declarative Eth calls - support executing Eth calls ahead of time and in parallel. Using this feature, the time for all calls goes from the sum of the time the calls take to the max. #5264
  • Support for differentiating EOA from smart contract accounts - ethereum.getCode can be used in mappings to check whether smart contract code is present at a given address. #5272
  • Support additional event filters - allow filtering on Indexed arguments. #5254
  • Aggregations now use Timestamp type for the timestamp attribute. #5321

Optimizations

  • Fetch block receipts in bulk - use eth_getBlockReceipts on supported providers to fetch receipts in bulk. #5341
  • Improve indices created to support aggregations. #5286
  • Use 'select by specific attributes' by default. #5311
  • Select only the needed specific attributes for query_window_one_entity. #5357
  • Check interface uniqueness in bulk. #5293
  • Stop using the IPFS stat API in favor of the more efficient cat API. #5284
  • Derive macros for CheapClone and CacheWeight. #5326
  • Periodically remove entries from the LayoutCache. #5324
  • Centralize and clarify our use of futures. #5345
  • Optimize subgraph ptr update. #5317

Graphman

  • Refactor manual index creation & add ddl tests. #5292
  • Refactor graphman rewind to use pause and resume logic. #5213

Firehose & Substreams

  • Add deployment id to Firehose connection headers. #5319
  • Improve the Ethereum Firehose codec. #5314
  • Fix static filters restart behaviour when using threshold. #5328
  • Try to be more consistent in Firehose parsing to address. #5360
  • Include 'provider' in various firehose log messages. #5384
  • Do not send all Firehose headers when its init triggers only. #5373

Robustness

  • Add a test for number_gte block constraints. #5383
  • Add zkSync fingerprint to the TOO_MANY_LOGS_FINGERPRINTS. #5307
  • Add exceptional case for transaction less event in zksync-era. #5338
  • Improve tests by moving subgraph param to TestContext. #5342

Notable dependency upgrades

  • Upgrade clap. #5174
  • Update syn to 2.0. #5339
  • Update tokio-tungstenite. #5344

Bug fixes

  • Avoid 'too many bind params' error in FindDerivedEntityQuery. #5318
  • Fix check for deterministic error. #5332
  • Fix incorrect comparison of transaction hash. #5374
  • Fix clap. #5389

Contributors

For readability not all commits and changes were noted here. To see a complete list head to the full changelog at v0.35.0...v0.35.1

Don't miss a new graph-node release

NewReleases is sending notifications on new releases.