messari / subgraphs

Standardized subgraphs for blockchain data
MIT License
512 stars 241 forks source link

#bug; Deriv SDK benign error log #2512

Open melotik opened 8 months ago

melotik commented 8 months ago

Describe the bug In the derivative SDK there is a benign error log that gets thrown each time a pool-level snapshot is created.

This shouldn't be happening, but it does not affect the subgraph. And the pool is there.

log.error(
      "[isInitialized] cannot create snapshots, pool: {} not initialized",
      [this.pool.id.toHexString()]
    );

Reproduction https://okgraph.xyz/?q=messari%2Fgmx-arbitrum

Expected behavior We should be removing this and logging the error ONLY when the pool is actually not there.

Screenshots

Screenshot 2024-03-21 at 1 19 01 PM