Closed chamorin closed 2 years ago
Which steps ask to run cargo run
? I would like to know to fix it if it's written somewhere because it's wrong.
Substreams are compiled to WASM using cargo build --target=wasm32-unknown-unknown --release
and then executed on the server where the WASM is loaded and intrinsics from it are resolved. You cannot run a Substreams using cargo run
, you must use substreams
CLI and run it from there (which itself interacts with the server and ask it to run your Substreams).
Official documentation can be seen https://substreams.streamingfast.io/ which should give you enough information and where you can come here back. You can also jump on Discord for such help request.
I opened a PR
Following the steps for compiling the pancakeswap substreams modules I get this error:
After running this command:
However running
./build-all.sh
worked. Maybe it's a problem on my side, I'm not sure.Tried with
cargo 1.60.0