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
{{ message }}
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
but it's not ideal for text remarks to be unable to have spaces in them. I tried escaping the spaces with one or more backslashes to no avail. The only way to get the attribute accepted is to remove all spaces inside and outside of the quotes.
Current behavior
Using
--tx-attrswith any spaces inside the attribute JSON (even inside quoted strings) results in the following error:Expected behavior
To properly parse tx attributes with spaces in them
How to reproduce
Try the following invocation on TestNet - the
--tx-attrvalue is taken directly from the example shown by thesc invoke helpcommand in np-prompt:The spaces both inside and outside of the quotes will stop the parser from reading the rest of the string, resulting in the EOF error. This works:
but it's not ideal for text remarks to be unable to have spaces in them. I tried escaping the spaces with one or more backslashes to no avail. The only way to get the attribute accepted is to remove all spaces inside and outside of the quotes.
Your environment