filecoin-station / spark-api

💥 SPARK API
https://github.com/filecoin-station/spark
Other
3 stars 1 forks source link

TypeError in commitMeasurements(): Cannot read properties of undefined (reading 'topics') #421

Closed sentry-io[bot] closed 1 month ago

sentry-io[bot] commented 1 month ago

Sentry Issue: SPARK-PUBLISH-2M

TypeError: Cannot read properties of undefined (reading 'topics')
  File "/app/publish/index.js", line 145, in commitMeasurements
    const log = ieContract.interface.parseLog(receipt.logs[0])

Source code:

https://github.com/filecoin-station/spark-api/blob/91072bc0547e303c64df30f07430ddd804a8aad7/publish/index.js#L145

bajtos commented 1 month ago

@juliangruber I think this problem was introduced by 4f9742b1b7e33399805493541524d11d40832b40 but did not manifest until the recent spikes in gas fees. Could you PTAL someday?

This is the third most frequent issue in Sentry (excluding Station Core/Desktop issues).

Screenshot 2024-09-23 at 15 54 17
bajtos commented 1 month ago

@juliangruber can we close this issue as fixed?

juliangruber commented 1 month ago

Idk, is it still happening a lot in Sentry?

bajtos commented 1 month ago

Last seen on Sept 24th.

Screenshot 2024-10-07 at 12 30 44

Let's close this issue as fixed.