Skip to content

v3.20.0

Latest

Choose a tag to compare

@DZakh DZakh released this 03 Dec 13:18
80b747f

What's Changed

2-5+ cheaper at the head

We optimized HyperIndex fetching logic at the head. Now HyperSync and RPC sources for EVM send fewer requests where possible by widening filters. This causes minor overfetching, but it is hardly noticeable at the head and not as significant as the cost reduction many users want.

By @DZakh in #1907

Partial Indexes for Postgres

Configure partial indexes with @index(where:) in schema.graphql to optimize your query performance:

type SafeTransaction
  @index(fields: ["safe"], where: { isExecuted: { _eq: true } }) {
  id: ID!
  safe: Safe!
  isExecuted: Boolean!
}

It'll automatically create the following index:

CREATE INDEX "SafeTransaction_safe_id_…" ON "SafeTransaction"("safe_id") WHERE "isExecuted" = true;

By @DenhamPreen in #1896

Other Improvements

Full Changelog: v3.19.0...v3.20.0