Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#major); balancer-forks; subgraph optimizations #2487

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dhruv-chauhan
Copy link
Collaborator

@dhruv-chauhan
Copy link
Collaborator Author

dhruv-chauhan commented Feb 20, 2024

Build is failing with error,

stdout: ERROR TS2339: Property 'loadRelated' does not exist on type '~lib/@graphprotocol/graph-ts/index/store'.

     let value = store.loadRelated(this._entity, this._id, this._field);
                       ~~~~~~~~~~~
 in generated/schema.ts(3402,23)

loadRelated method (= .load() on derivedFrom entity) became available starting graph-node v0.31.0, @graphprotocol/graph-ts v0.31.0, and @graphprotocol/graph-cli v0.51.0. I suspect some of these packages are not updated in the build checker.

@dhruv-chauhan dhruv-chauhan linked an issue Feb 20, 2024 that may be closed by this pull request
@melotik
Copy link
Contributor

melotik commented Feb 22, 2024

@dhruv-chauhan I see a new error now

Screenshot 2024-02-22 at 3 24 20 PM

@melotik
Copy link
Contributor

melotik commented Feb 27, 2024

@dhruv-chauhan can you make sure to use:

indexerHints:
   prune: auto

wherever possible in subgraphs going forward.

https://thegraph.com/docs/en/developing/creating-a-subgraph/#the-subgraph-manifest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#feat; refactor large arrrays on bethoven-x
2 participants