centrifuge / pools-subql

Subquery for Pools on Centrifuge
MIT License
1 stars 4 forks source link

CLI deployments lead to missing entities (investorTransactions) #151

Closed filo87 closed 1 month ago

filo87 commented 1 month ago

Summary

Manual and CLI deployments of the same code lead to diferent results. CLI deployments lead to empty investorTransactions.

Description

The same code has been deployed to different slots of pools-multichain project:

  1. Primary deployment has been performed manually using the CID: Qmc6bHPjAEYZtPTexRveNXDnns6PzzT7XvhDj1VzaQeYAw
  2. Stage deployment has been performed using the following action: https://github.com/centrifuge/pools-subql/actions/runs/8982012353/job/24668752775

This leads to the following environments:

image

When the environments are fully synced, when performing the following query

{investorTransactions {nodes { id } } }

Different results are observed

image

Manual deployment query: https://api.subquery.network/sq/centrifuge/pools-multichain?query={investorTransactions{nodes{id}}}

CLI deployment query: https://api.subquery.network/sq/centrifuge/pools-multichain__Y2Vud?query={investorTransactions{nodes{id}}}

and also the total amount of entries differs: image

Further observations:

  1. The logs report no particular ERRORS
  2. The two deployments report different flags/parameters in the UI
  3. Clicking on UPDATE DEPLOYMENT on the staging environment leads to an invalid multichain CID image
filo87 commented 1 month ago

looks like this solves our issue: 3258b2854e37ba93f2bf70c383c649928002916e