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?
darwin
What environment or browser are you using? And what version?
Node.JS v20.17.0
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
Describe the issue:
I created a capability guarded gas station principal account.
Maybe this doesn't work because it was created with a Chainweaver wallet account instead of a CLI-created account (though the wallet is imported into the CLI).
Error stacktrace:
TypeError: Cannot read properties of undefined (reading 'map')
at file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:91:32
at Array.map ()
at generateTableForAccountDetails (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:82:27)
at file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:139:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Command. (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/utils/createCommand.js:132:28)
at async Command.parseAsync (/usr/local/lib/node_modules/@kadena/kadena-cli/node_modules/commander/lib/command.js:936:5)
at async main (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/index.js:16:5)
When I run coin.details in the REPL or using a display function, I get a result like this: {"account": "c:J1yaCWrdEbhKekMRhF5WjOgvzUayxTD24q7UWHwaa9I","balance": 0.0,"guard": CapabilityGuard {name: free.test-gas.ALLOW_GAS,args: [],pactId: }}
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?
darwin
What environment or browser are you using? And what version?
Node.JS v20.17.0
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
Describe the issue:
I created a capability guarded gas station principal account.
Maybe this doesn't work because it was created with a Chainweaver wallet account instead of a CLI-created account (though the wallet is imported into the CLI).
Error stacktrace:
TypeError: Cannot read properties of undefined (reading 'map')
at file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:91:32
at Array.map ()
at generateTableForAccountDetails (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:82:27)
at file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountDetails.js:139:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Command. (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/utils/createCommand.js:132:28)
at async Command.parseAsync (/usr/local/lib/node_modules/@kadena/kadena-cli/node_modules/commander/lib/command.js:936:5)
at async main (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/index.js:16:5)
Steps to reproduce the behavior
Executed command:
kadena account details --account="c:J1yaCWrdEbhKekMRhF5WjOgvzUayxTD24q7UWHwaa9I" --fungible="coin" --network="devnet" --chain-ids="3"
What did you expect to happen?
When I run
coin.details
in the REPL or using adisplay
function, I get a result like this:{"account": "c:J1yaCWrdEbhKekMRhF5WjOgvzUayxTD24q7UWHwaa9I","balance": 0.0,"guard": CapabilityGuard {name: free.test-gas.ALLOW_GAS,args: [],pactId: }}
Participation
The text was updated successfully, but these errors were encountered: