tangle-network / gadget

A framework for building modular AVS and Tangle Blueprints: https://docs.tangle.tools/developers/blueprints.
https://tangle.tools
Apache License 2.0
12 stars 3 forks source link

[TASK] Blueprint params does not accept no argument. #298

Open drewstone opened 3 weeks ago

drewstone commented 3 weeks ago

Overview

When a job is created that has no arguments (for example run a node, stop a node, upgrade a node, i.e. commands with fixed parameters) there is no way to pass no parameters to the params(...) blueprint macro variable. You have to use a dummy placeholder value to get the editor / compiler to not complain. No arguments in params should be support or entirely omitting parameters if none exist should be supported.