streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
164 stars 45 forks source link

`substreams gui` doesn't pass `params` in the request #267

Closed YaroShkvorets closed 1 year ago

YaroShkvorets commented 1 year ago

run command works, gui doesn't.

Here's a simple substreams module to reproduce. It logs params into stdout.

Works with run: substreams run https://github.com/pinax-network/substreams/releases/download/params-v0.1.0/params-v0.1.0.spkg map_params -s 1 -t +1 -p "map_params=custom run params 🔥"

Doesn't work with gui: substreams gui https://github.com/pinax-network/substreams/releases/download/params-v0.1.0/params-v0.1.0.spkg map_params -s 1 -t +1 -p "map_params=custom gui params 🔥"

YaroShkvorets commented 1 year ago

This PR should fix it: https://github.com/streamingfast/substreams/pull/268