You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is an issue with the SDK or is something that shouldn't be in the Config file.
When I try to parse a Config file that contains an empty array for args: args = [""], it throws an error (The config file is the one in the frontier-parachain-template):
TOML parse error at line 30, column 11
|
30 | args = [""]
| ^^
the provided argument is invalid and doesn't match Arg::Option or Arg::Flag
After some researching I can see the error is when parsing the Config file in the function load_from_toml (line):
Hi @AlexD10S, thanks for your feedback! I will update the toml in that repo since an empty string can not be deserialized to a valid argument (and I'm not sure if we want to deserialize to an empty arg). That make sense to you?
I am not sure if this is an issue with the SDK or is something that shouldn't be in the Config file.
When I try to parse a Config file that contains an empty array for args:
args = [""]
, it throws an error (The config file is the one in the frontier-parachain-template):After some researching I can see the error is when parsing the Config file in the function load_from_toml (line):
Should be ignored if the array is empty?
Thanks for this amazing SDK!! We are using it in our tool pop-cli.
The text was updated successfully, but these errors were encountered: