-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: staking support in subgraph #41
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
Open
kasparkallas
wants to merge
16
commits into
dev
Choose a base branch
from
2025-09-10-staking-subgraph
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d10r
approved these changes
Oct 14, 2025
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests not working for me, I get
$ pnpm run test
> [email protected] test /home/didi/src/sf/fluid/packages/subgraph
> graph test
Fetching latest version tag...
Downloading matchstick binary: https://github.com/LimeChain/matchstick/releases/download/0.6.0/binary-linux-22
___ ___ _ _ _ _ _
| \/ | | | | | | | (_) | |
| . . | __ _| |_ ___| |__ ___| |_ _ ___| | __
| |\/| |/ _` | __/ __| '_ \/ __| __| |/ __| |/ /
| | | | (_| | || (__| | | \__ \ |_| | (__| <
\_| |_/\__,_|\__\___|_| |_|___/\__|_|\___|_|\_\
Compiling...
💬 Compiling fluid-locker...
thread 'main' panicked at '🆘 Internal error during compilation: No such file or directory (os error 2).
Command path: "/home/didi/src/sf/fluid/packages/subgraph/node_modules/assemblyscript/bin/asc"
Globals path: "/home/didi/src/sf/fluid/packages/subgraph/node_modules/@graphprotocol/graph-ts/global/global.ts"
Libs folder: "/home/didi/src/sf/fluid/packages/subgraph/node_modules"', src/compiler/mod.rs:131:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
› Error: Matchstick exited with an error
ELIFECYCLE Test failed. See above for more details.
```
Expects the asc binary in `node_modules/assemblyscript/bin/asc`, but it now is in `node_modules/.bin/asc`.
I think the problem is that the (rather old) matchstick-as package depends on an old assemblyscript version, see https://github.com/LimeChain/matchstick-as/blob/main/package.json#L12 . Can't pnpm reconcile that?
None of the issues highlighted are introduced by this PR though.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.