example中的代码执行报错!
在执行设置自己余额时报错,调试发现是在ABI.Pack函数中出错,错误如下:
llg@llg-virtual-machine:~/gopath/src/sdk-go/examples/user_contract_evm_balance$ ./user_contract_evm_balance
client1AddrInt: 489803224908156547819714193299779218991898859576
client1EthAddr: 0x55cb8945bc3578b3a699eb3f684d0d88c8ca9838
client2AddrInt: 444028280806120550600082168201460873034129067650
client2EthAddr: 0x4dc6eaaf3b792b7148eebb4bbdc2b3b08655ce82
====================== create client ======================
====================== 创建Balance合约 ======================
CREATE EVM balance contract resp:
====================== 设置addr2余额 ======================
invoke contract success, resp: [code:0]/[msg:]/[contractResult:gas_used:5888 ]
====================== 查看addr2余额 ======================
addr [444028280806120550600082168201460873034129067650] => [%!d(string=1234)]
====================== 设置自己余额 ======================
2023/02/04 11:22:50 1 arguments in struct expected, 2 received