Skip to content

Commit cce9b50

Browse files
committed
fix for subgraphs without a manifest
1 parent d2269cd commit cce9b50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store/allocations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const useAllocationStore = defineStore('allocationStore', {
211211
const deploymentStatus = deploymentStatusStore.getDeploymentStatuses[state.allocations[i].subgraphDeployment.ipfsHash];
212212

213213
const validChain = accountStore.getPOIQueryStatus ? chainValidation.getChainStatus[state.allocations[i].subgraphDeployment.manifest.network] : null;
214-
const synced = epochStore.getBlockNumbers[state.allocations[i].subgraphDeployment.manifest.network] <= deploymentStatus?.chains?.[0]?.latestBlock?.number;
214+
const synced = epochStore.getBlockNumbers[state.allocations[i].subgraphDeployment.manifest?.network] <= deploymentStatus?.chains?.[0]?.latestBlock?.number;
215215
const deterministicFailure = synced ? null : deploymentStatus?.health == 'failed' && deploymentStatus?.fatalError && deploymentStatus?.fatalError?.deterministic == true;
216216

217217
const otherIndexerStatus = deploymentStatusStore.getDeploymentFailures[state.allocations[i].subgraphDeployment.ipfsHash];

0 commit comments

Comments
 (0)