FISCO-BCOS / FISCO-BCOS/console
控制台解析参数失败问题
- Dominant language
- Shell
- Stars
- 96
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
在使用中发现当合约的入参有字符串数组和字符串一起作为入参时候,如果字符串有空格,参数解析会失败如下图:

而如果是整形数组和字符串作为入参的时候,就没这个问题,如图:

控制台版本1.0.9,希望能及时修复
Contributor guide
Research direction
Reproduce the failure in the console using a contract call with a string array and a string containing spaces, then compare it with the integer-array case described in the issue. Trace the console's argument-parsing entry point and add a regression test; done means both argument combinations are parsed and passed to the contract correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100