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 using the latest version of the relevant package(s)
What operating system are you using? And what version?
Ubuntu 22.x
What environment or browser are you using? And what version?
Node.js
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
When I use the --template flag, I get
Failed to create transaction from template
Failed to parse template: payload:
meta:
I debugged it and found out that the template is actually found and parsed correctly, but then a string is passed to createAndWriteTransaction. It seems to expect a template string, but instead just the name is passed, which is then split into parts and holes in getPartsAndHoles and it returns gibberish.
Steps to reproduce the behavior
use `kadena tx add --template="transfer.ktpl"
What did you expect to happen?
To find and parse the correct template.
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Please confirm the following:
What operating system are you using? And what version?
Ubuntu 22.x
What environment or browser are you using? And what version?
Node.js
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
When I use the
--template
flag, I getI debugged it and found out that the template is actually found and parsed correctly, but then a string is passed to
createAndWriteTransaction
. It seems to expect a template string, but instead just the name is passed, which is then split into parts and holes ingetPartsAndHoles
and it returns gibberish.Steps to reproduce the behavior
use `kadena tx add --template="transfer.ktpl"
What did you expect to happen?
To find and parse the correct template.
Participation
The text was updated successfully, but these errors were encountered: