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 v23.7.0
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
Describe the issue:
I got this error (but without the issue link when trying to fund a new account created as part of kadena config init then got the error with the issue link when trying to add a Chainweaver public key using kadena account add
Error stacktrace:
Error: No value found in table coin_coin-table for key: k:58705e86...
at getAccountDetails (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/utils/getAccountDetails.js:23:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async addAccountFromKey (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountAddFromKey.js:21:19)
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 add --from="key" --account-alias="chainweaver-web" --account-name="k:58705e8699678bd15bbda2cf40fa236694895db614aafc82cf1c06c014ca963c" --fungible="coin" --verify --network="devnet" --chain-id="3"
Interactive:
➜ ~ kadena account add
? How would you like to add the account locally? Key - Add an account by by providing public keys from a key file or entering
key details manually
? Enter an alias for an account: chainweaver-web
? Enter an account name (optional): k:58705e8699678bd15bbda2cf40fa236694895db614aafc82cf1c06c014ca963c
? Enter the name of a fungible: coin
? Do you want to verify the account on chain? Yes, verify the account on chain before adding
? Select a network: devnet
? Enter ChainId (0-19): 3
What did you expect to happen?
Both in the case of funding the account and adding an existing key, I expected the operation to succeed.
Participation
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 v23.7.0
What package is the bug report about?
@kadena/kadena-cli
Describe the bug
Describe the issue:
I got this error (but without the issue link when trying to fund a new account created as part of
kadena config initthen got the error with the issue link when trying to add a Chainweaver public key usingkadena account addError stacktrace:
Error: No value found in table coin_coin-table for key: k:58705e86...
at getAccountDetails (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/utils/getAccountDetails.js:23:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async addAccountFromKey (file:///usr/local/lib/node_modules/@kadena/kadena-cli/lib/commands/account/commands/accountAddFromKey.js:21:19)
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 add --from="key" --account-alias="chainweaver-web" --account-name="k:58705e8699678bd15bbda2cf40fa236694895db614aafc82cf1c06c014ca963c" --fungible="coin" --verify --network="devnet" --chain-id="3"
Interactive:
➜ ~ kadena account add
? How would you like to add the account locally? Key - Add an account by by providing public keys from a key file or entering
key details manually
? Enter an alias for an account: chainweaver-web
? Enter an account name (optional): k:58705e8699678bd15bbda2cf40fa236694895db614aafc82cf1c06c014ca963c
? Enter the name of a fungible: coin
? Do you want to verify the account on chain? Yes, verify the account on chain before adding
? Select a network: devnet
? Enter ChainId (0-19): 3
What did you expect to happen?
Both in the case of funding the account and adding an existing key, I expected the operation to succeed.
Participation