Skip to content

Releases: enviodev/hyperindex

v2.7.4

11 Nov 10:57
48f141a
Compare
Choose a tag to compare

Doc Updates

Fixes

Full Changelog: v2.7.3...v2.7.4

v2.7.3

06 Nov 09:38
Compare
Choose a tag to compare

What's Changed

  • Implement throttler for non-core db functions to improve postgres performance by @JonoPrest in #318
  • Update sync state and raw events regardless of handler registration by @JonoPrest in #321

Full Changelog: v2.7.2...v2.7.3

v2.7.2

02 Nov 06:10
62f77a5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.1...v2.7.2

v2.7.1

01 Nov 14:48
Compare
Choose a tag to compare

Fixes

  • Fix stale action invalidation in global state manager by @JonoPrest in #313
    (This fixes issues with using preRegisterDynamicContracts flag AND an edge case that can occur on rollbacks)

Internal work

  • Move ChainMap to npm package by @DZakh in #273
  • Add 2 new HyperSync chains and move chain tests to integration tests by @JonoPrest in #314

Full Changelog: v2.7.0...v2.7.1

v2.7.0

31 Oct 06:54
f2b7427
Compare
Choose a tag to compare

New Features and Improvements

  • Add more benchmarks and improve framework by @JonoPrest in #299
  • Support Fuel std::string::String type by @DZakh in #307
  • Sync hypersync chain list +14 new chains by @DZakh in #308
  • Use double precision for float representation by @JonoPrest in #302

Fixes

  • Fix sorting of composite index fields by @JonoPrest in #301
  • Fix skipped handler on empty contract register event case by @JonoPrest in #304
  • Add additional checks to prevent double contract registration by @JonoPrest in #309

Full Changelog: v2.6.1...v2.7.0

v2.6.1

25 Oct 13:46
8a5d8e4
Compare
Choose a tag to compare

What's Changed

  • Improve Batch Set error a little bit by @DZakh in #297
  • Fix double handling of start after pre-registration by @JonoPrest in #295
  • Fix ReScript Contract Import Templates by @JonoPrest in #294

Full Changelog: v2.6.0...v2.6.1

v2.6.0

25 Oct 10:36
4932a66
Compare
Choose a tag to compare

Fixes

  • Fix querying a toBlock below fromBlock on RPC by @JonoPrest in #274
  • Fixes for contract registration registers and partitions by @JonoPrest in #281
  • Fix using onlyBelowReorgThreshold when rollback on reorg is disabled by @JonoPrest in #293

Improvements

  • feat: prompt for start block on rpc url networks in contract import by @DenhamPreen in #4
  • Improve Contract Import to stop asking for API keys by @DZakh in #279
  • Improve crash error by @DZakh in #280
  • Add Mainnet selection in Fuel contract import by @DZakh in #291

Internal

Full Changelog: v2.5.2...v2.6

v2.5.2

18 Oct 08:10
25cb567
Compare
Choose a tag to compare

Fixes

  • Prevent Fuel indexer from double processing events in some cases during indexer restart by @DZakh in #272
  • Fix links in the README.md by @JonoPrest in #271

Full Changelog: v2.5.1...v2.5.2

v2.5.1

17 Oct 09:00
b64292b
Compare
Choose a tag to compare

Fixes

  1. Multichain indexers could reach reorg threshold early and start saving entity history before it needs to
  2. Multichain contracts using preRegisterDynamicContracts would exit the pre registration early due to hitting the reorg threshold early.

Full Changelog: v2.5.0...v2.5.1

v2.5.0

15 Oct 13:16
3ff4f9e
Compare
Choose a tag to compare

New Feature

Dynamic Contract Pre-registration

You can now add "preRegisterDynamicContracts" flag to your event config. For all the events that have this config, there will be an end to end indexer run just for these events to run all the relevant contractRegister functions and collect all the dynamic contract addresses. The indexer then restarts with all these addresses from the start block configured for the network (rather than from the block that the contract gets registered). For a standard factory contract setup this drastically reduces indexing time since it doesn't result in many small block range queries but rather larger grouped queries.

PoolFactory.CreatePool.contractRegister(
  ({ event, context }) => {
    context.addPool(event.params.pool);
  },
  { preRegisterDynamicContracts: true },
);

What's Changed

Full Changelog: v2.4.4...v2.5.0