Skip to content

Conversation

@kasparkallas
Copy link

No description provided.

@kasparkallas kasparkallas changed the title wip: staking support in subgraph WIP: staking support in subgraph Sep 12, 2025
Copy link
Contributor

@d10r d10r left a 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants