``` Bugs on / Spending key naming convention error Approach Tried to send some Shielded IBC token Spending key was available on the wallet list Known shielded keys: Alias "rilsonewesttt-spendingkey" (encrypted): Viewing Key: zvknam1q0jpwz8jqqqqpqxd03dfzge80ttdae8nt332v74tcp4zr4ymnqpe86jz0wyv03xg0tx5wxlz8qqur3w9507ucy7p6ryymvrzq9cu370nkghrgzp4t80gh2cktr3cxjqeex3dwzdfm5v2m7j7vkdwrvk6fk6cgktqq0p0p63yrzpdv35lxryp8k7c4g6h573dqsuczh2fmd8kv79j8fx305re0vp8527p0shmwtcrnnugcr8w8extw8f2qmfd733v66u2cslxy7q8yfcdsphyc Alias "shieldedaction-spendingkey" (encrypted): Viewing Key: zvknam1q0rng42cqqqqpq9turz5yp2lud20lqp0x2hh4gz4v5ys22wwgwh4jux584avnt0ckyjcd8gefekc7sgaqqdznep6gk7jyjyemmtxee2t0aftz28w3h8zm5tpetgd78l8u048zzj4c0mdu3j57ve9pcj7ggkgczp2dje64aa5c52kdhmnd997qnfkqr3g9cj9yf0tew3809eswsqjw9d4vl5f0ca9pnyhhwypryc54ev4d5yghlt2gzf6pcf60qa62gnfuj266npzz8s7rr9sp Alias "koireng-spendingkey" (encrypted): Viewing Key: zvknam1qv52jpscqqqqpqyedckqyjejh6p3dvzqd24umg5qk8pr7ud0xupeze2gq5mf5aztwukstcs6yfzx7p6v22px9cgqjr4dx4l66rg0d9l2alzmadadldl23w8fu4v5y3g3mmwzj6w5zn970m9nd0rymtrdjg666prxhlhp44wvuvrdme5eesgqgjwz2ddxu8g23060hkc6a97pw23ws3gduksnjrrdsv3r4lutyywk2jn5zl9he6czw3nr7xts47vepu6w8uuk2tajgnqafvpjx Got an error: ubuntu@ip-172-31-36-85:~$ namadac --base-dir $HOME/.local/share/namada ibc-transfer --source rilsonewesttt-spendingkey --receiver osmo1spa8mrur3zqumjuxtdvfgste498hfhtx0l5uhg --token NAAN --amount 10 --channel-id "channel-6293" --memo-path "/home/ubuntu/ibc_shielded_transfer_0d6c72dd4aeef5255ae011ebdfd9f1b995fff1700868c6c3b7b38bc97c8f8183.memo" --memo "tpknam1qqt6hsuz342ym3wh4d3k5pj07zdkxyd7y79rknjx47y96cs3tnggs0klh3z" --signing-keys rilsonewestt Enter your decryption password: The application panicked (crashed). Message: called `Result::unwrap()` on an `Err` value: "Unknown spending key rilsonewesttt-spendingkey" on Second try: it works with the same spending-key(shielded-keys) ubuntu@ip-172-31-36-85:~$ namadac --base-dir $HOME/.local/share/namada ibc-transfer --source rilsonewesttt-spendingkey --receiver osmo1spa8mrur3zqumjuxtdvfgste498hfhtx0l5uhg --token NAAN --amount 10 --channel-id "channel-6293" --memo-path "/home/ubuntu/ibc_shielded_transfer_0d6c72dd4aeef5255ae011ebdfd9f1b995fff1700868c6c3b7b38bc97c8f8183.memo" --memo "tpknam1qqt6hsuz342ym3wh4d3k5pj07zdkxyd7y79rknjx47y96cs3tnggs0klh3z" --signing-keys rilsonewestt Enter your decryption password: Error: 0: The balance of the source tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah is lower than the amount to be transferred. Amount to transfer is 10.000000 tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee 1: The balance of the source tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah is lower than the amount to be transferred. Amount to transfer is 10.000000 tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee Location: /home/runner/work/namada/namada/crates/apps/src/lib/cli/client.rs:76 > Final approach and consideration Tried on this thotjj22@gmail.com@sem-shielded:~$ namadac --base-dir $HOME/.local/share/namada ibc-transfer --source kor --receiver osmo1spa8mrur3zqumjuxtdvfgste498hfhtx0l5uhg --token NAAN --amount 10 --channel-id "channel-6289" --signing-keys shieldedaction Enter your decryption password: Error: 0: The balance of the source tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah is lower than the amount to be transferred. Amount to transfer is 10.000000 tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee 1: The balance of the source tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah is lower than the amount to be transferred. Amount to transfer is 10.000000 tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee Location: /home/runner/work/namada/namada/crates/apps/src/lib/cli/client.rs:76 So the bug behind is about having "-" on the spending key Sometime it would work and then else not. here is a screenshot attached ![Screenshot 2024-03-15 at 10.35.09 PM](https://hackmd.io/_uploads/rJcIlWfA6.png) ![Screenshot 2024-03-15 at 10.35.37 PM](https://hackmd.io/_uploads/HkqUgZMAT.png) **>> The Issue lie on this factor "if it doesn’t allow to have special Character then it should not be allowed to be created from start" Sometime working and the other time with an issue Doesn’t seem right at all This create a confusion to the user, whether the spending key was really available, indeed the spending key was available , Seems like an issue to me. ``` # bug2 Reproduce: Create a new wallet with alias that are reserved, such as masp, publicgoodfundings etc rilso@chimmykk ~ % namada wallet gen --alias masp Enter your encryption password: Enter same passphrase again: Using HD derivation path m/44'/877'/0'/0'/0' Safely store your 24 words mnemonic. hub boil tiny olive replace fossil vintage machine happy slim piano vague patient guilt mobile slam large melody voyage program concert peanut armed finger The alias masp is reserved. Failed to generate a keypair. No changes are persisted. Exiting. So this clearly failed to generate the keypair as this already is a reserve one "masp": Internal MASP: tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah However i can recreate the using HOMOGLYPH as > namada wallet gen --alias mаѕр rilso@chimmykk ~ % namada wallet gen --alias mаѕр Enter your encryption password: Enter same passphrase again: Using HD derivation path m/44'/877'/0'/0'/0' Safely store your 24 words mnemonic. decide cradle lawn outer hard split strategy tell diary flower craft kiwi market cable sand spend goddess evil plunge company galaxy brain army skate Successfully added a key and an address with alias: "mаѕр" Output rilso@chimmykk ~ % namada wallet list Known transparent keys: Alias "tew" (encrypted): Public key hash: 699E81FE3494688192378AADC1E911FD8CEAB586 Public key: tpknam1qzwake3avdzpspnxra0f4zc4y4c4pmnv5qkw05k2g9tw7vzcsv7xupc4wpk Alias "mаѕр" (encrypted): Public key hash: F77DDA6344372EADA1D18B58EF47B7C2AE459672 Public key: tpknam1qpn0u9pf4sxpvv82xsarelqsausjrnvkspltszzukqhja0kpw3q02cdjqxj Alias "koireng" (encrypted): Public key hash: 526F32AC4C8A34A23CFA591D9E4704CDC2FD1912 Public key: tpknam1qq5qe87yjcj2f7gxcvvknutjt0nkkvheuxvhsdwdwzxq63mkmpgeykyyzhq Known transparent addresses: "ethbridge": Internal EthBridge: tnam1quqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfgdmms "ethbridgepool": Internal EthBridgePool: tnam1pqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu35hpf "governance": Internal Governance: tnam1q5qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrw33g6 "ibc": Internal IBC: tnam1qcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvtr7x4 "koireng": Implicit: tnam1qpfx7v4vfj9rfg3ulfv3m8j8qnxu9lgezg5mqexw "masp": Internal MASP: tnam1pcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzmefah "mаѕр": Implicit: tnam1qrmhmknrgsmjatdp6x943m68klp2u3vkwg272tv7 "naan": Established: tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee "pos": Internal PoS: tnam1qgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc8j2fp "publicgoodfundings": Internal PublicGoodFundings: tnam1pgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkhgajr "tew": Implicit: tnam1qp5eaq07xj2x3qvjx792ms0fz87ce644sc3t7a6a Final step > and output rilso@chimmykk ~ % namada wallet remove --alias masp --do-it Successfully removed alias: "masp" muhammednufais@chimmykk ~ % namada wallet list Known transparent keys: Alias "mаѕр" (encrypted): Public key hash: F77DDA6344372EADA1D18B58EF47B7C2AE459672 Public key: tpknam1qpn0u9pf4sxpvv82xsarelqsausjrnvkspltszzukqhja0kpw3q02cdjqxj Alias "tew" (encrypted): Public key hash: 699E81FE3494688192378AADC1E911FD8CEAB586 Public key: tpknam1qzwake3avdzpspnxra0f4zc4y4c4pmnv5qkw05k2g9tw7vzcsv7xupc4wpk Alias "koireng" (encrypted): Public key hash: 526F32AC4C8A34A23CFA591D9E4704CDC2FD1912 Public key: tpknam1qq5qe87yjcj2f7gxcvvknutjt0nkkvheuxvhsdwdwzxq63mkmpgeykyyzhq Known transparent addresses: "ethbridge": Internal EthBridge: tnam1quqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfgdmms "ethbridgepool": Internal EthBridgePool: tnam1pqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu35hpf "governance": Internal Governance: tnam1q5qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrw33g6 "ibc": Internal IBC: tnam1qcqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvtr7x4 "koireng": Implicit: tnam1qpfx7v4vfj9rfg3ulfv3m8j8qnxu9lgezg5mqexw "mаѕр": Implicit: tnam1qrmhmknrgsmjatdp6x943m68klp2u3vkwg272tv7 "naan": Established: tnam1qxvg64psvhwumv3mwrrjfcz0h3t3274hwggyzcee "pos": Internal PoS: tnam1qgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc8j2fp "publicgoodfundings": Internal PublicGoodFundings: tnam1pgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkhgajr "tew": Implicit: tnam1qp5eaq07xj2x3qvjx792ms0fz87ce644sc3t7a6a so the existing wallet internal just got remove. # also found a silly bug while wallet creation and derivation Approach ``` namada wallet gen --alias koireng Enter your encryption password: just a tab button from the keyboard allow user to create the wallet a tab / the up, down, arrow keys don;t know if this was intentional but again from a point of view doesn’t seem right # and this https://github.com/anoma/namada/issues/2949 ```