xchain-cli utxo 指令操作合约账号不符合预期
zhugelianglongming opened this issue · comments
Brian commented
Brief of the issue
使用 xchain-cli 对合约账号的 UTXO 进行 merge
|split
始终报错
Your environment
- XuperChain: v5.3.0
- OS: MacOS 12.0.1 (21A559)
- Go: go1.17.2 darwin/amd64
- gcc: 4.2.1
gcc
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: x86_64-apple-darwin21.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Repo steps
- create a contract account
XC1111111111111111@xuper
- transfer to the
XC1111111111111111@xuper
more than twice - (optional) list and check UTXO
bin/xchain-cli utxo list -N 10 -A XC1111111111111111@xuper
- merge or split UTXO
bin/xchain-cli utxo merge -A XC1111111111111111@xuper -P data
bin/xchain-cli utxo split -N 2 -A XC1111111111111111@xuper
Expected behaviours
- no error
- option usage
-A <ak>
-A <contract account> -P <auth accounts path>
What actually happened
Additional information
None yet