Skip to content

Releases: enviodev/hyperindex

v2.11.6

19 Dec 08:41
Compare
Choose a tag to compare

What's Changed

  • Fix preRegistration with an endBlock by @DZakh in #390
  • Fix field selection validation by @DZakh in #391

Full Changelog: v2.11.5...v2.11.6

v2.11.5

18 Dec 09:22
ab843ef
Compare
Choose a tag to compare

What's Changed

  • Retry on the wrong HyperSync instance response by @DZakh in #388

Full Changelog: v2.11.4...v2.11.5

v2.11.3

17 Dec 11:20
5605da1
Compare
Choose a tag to compare

What's Changed

  • Fix indexer freezing on reorg and have the correct events fetching order by @DZakh in #385

Full Changelog: v2.11.2...v2.11.3

v2.11.2

13 Dec 14:39
131e7b8
Compare
Choose a tag to compare

What's Changed

  • Fix empty dynamic contract registrations bug @JonoPrest in #384
    (Edge case that can presents as a range of missed events after a contractRegister function adds no new contract addresses)
  • Update chain tiers by @JonoPrest in #386

Full Changelog: v2.11.1...v2.11.2

v2.11.1

11 Dec 15:50
Compare
Choose a tag to compare

What's Changed

  • Add prom gauge for partitions latest fetched block by @JonoPrest in #383

Full Changelog: v2.11.0...v2.11.1

v2.11.0

10 Dec 12:43
04725f3
Compare
Choose a tag to compare

Field Selection per Event

You can specify field selection for individual events. This feature is useful for optimizing RPC and HyperSync calls by fetching only the data relevant to specific events, avoiding over-fetching.

Per-event field selection overrides any global field selection, ensuring precise data handling for each event.

events:
  - event: "Transfer(address indexed from, address indexed to, uint256 value)"
    field_selection:
      transaction_fields:
        - "to"
        - "from"

By @DZakh in #373, #375, #376, #382

Full Changelog: v2.10.0...v2.11.0

v2.10.0

05 Dec 07:59
b9891e3
Compare
Choose a tag to compare

What's Changed

  • Added support for the from, to, gasPrice, maxPriorityFeePerGas, maxFeePerGas, contractAddress transaction fields with the RPC data-source by @DZakh in #371

Internal

  • Allow to freely refactor the internal config type by @DZakh in #368
  • Mark Tangle as Bronze HyperSync network by @DZakh in #374

Full Changelog: v2.9.1...v2.10.0

v2.9.1

29 Nov 08:50
e4e5867
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.9.0...v2.9.1

v2.9.0

28 Nov 13:07
f945848
Compare
Choose a tag to compare

Environment Variables in the config file

The Envio config file can now use Environment Variables to offer more flexibility. If you want to switch between different configurations quickly, you don't need to edit the config file each time; you can just set Environment Variables at run time.

For the Hosted Service users, it's now possible to set custom Environment Variables 👀

Below is a simple example:

networks:
  - id: ${ENVIO_CHAIN_ID:-137}
    start_block: ${ENVIO_START_BLOCK:-45336336}
    contracts:
      - name: Greeter
        address: ${ENVIO_GREETER_ADDRESSES}

Then you can run ENVIO_GREETER_ADDRESSES=0x9D02A17dE4E68545d3a58D3a20BbBE0399E05c9c pnpm dev, or set the values via the .env or the indexer settings page on the Hosted Service.

Interpolation syntax

For the interpolation to be applied, the Environment Variable name should be placed in braces after a dollar sign (${VAR}).

For braced expressions, the following formats are supported:

Direct substitution

  • ${VAR} -> value of VAR

Default value

  • ${VAR:-default} -> value of VAR if set and non-empty, otherwise default
  • ${VAR-default} -> value of VAR if set, otherwise default

By @DZakh in #350

Other Improvements

  • Fix to allow naming entities in schema.graphql as Schema, Belt, EntityHistory, InternalEntity, Entity, Utils by @DZakh in #353
  • Display HyperSync tiers for networks on init by @JonoPrest in #362
  • Don't wait for the new block when there are partitions we still can query by @DZakh in #364
  • Remove current height from the endBlock for HyperSync/HyperFuel queries to improve latency by @DZakh in #364
  • Added deduplication for new block polling by @DZakh in #364
  • Internal: Start working on the custom RPC client by @DZakh in #356

Full Changelog: v2.8.2...v2.9.0

v2.8.2

21 Nov 08:28
339b662
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.8.1...v2.8.2