Skip to content

v0.39.1

Latest
Compare
Choose a tag to compare
@encalypto encalypto released this 03 Jun 16:55
20fda1c

v0.39.1

Critical Fix

Event Transaction Log Index

  • Reverted transaction log index behavior: Fixed a regression introduced in v0.38.0 where event.transactionLogIndex was inadvertently changed to return the actual transaction log index instead of the log index (#6042)

    Impact: This change in v0.38.0 caused subgraph failures with duplicate ID errors for subgraphs using event.transactionLogIndex for entity ID generation. It could also lead to POI divergence between indexers running different versions.

    Note: While this restores the previous behavior, event.transactionLogIndex continues to return the same value as event.logIndex (not the actual transaction log index). Subgraph developers should use event.logIndex for unique log identification.


Upgrade Notes

Indexers running v0.38.0 who have synced subgraphs that use event.transactionLogIndex should:

  1. Upgrade to v0.39.1
  2. Rewind affected subgraphs to before they were synced with v0.38.0
  3. Resync to ensure POI convergence with the network

Contributors

Thanks to @lutter for the quick fix and the indexer community for identifying and helping diagnose this issue.


Full changelog: v0.39.0...v0.39.1