Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think I found the reason of the subgraph crash (some null checks?), but that's not the problem now, the problem is to be able to build the subgraph... even without modifying anything I get this apiVersion error:
Error: The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'
then, changing the subgraph yaml template to api version 0.0.5 I get this assemblyscript error, I've tried installing different versions, dependencies... can't get rid of it (edit: looks like there are breaking changes in apiVersion 0.0.5, and apiVersion is enforced by the nodes? i tried to refactor things (but maybe we just need to spend some time to do it properly, according to this migration guide, its just a bit sad that we have to spend time on an old project like this):
right now, having this ugly assemblyscript error:
additionally Martin said that he had problems with
toHexString()
on v2, and that we could try to change those totoHex()