FISCO-BCOS / FISCO-BCOS/console
部署合约传参报错:deploy contract failed for cannot encode in encodeMethodFromObject with appropriate interface ABI
- Dominant language
- Shell
- Stars
- 96
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
按照文档写的智能合约例子,构造器是:

`传参是:deploy EvidenceController 1 [0x62417832c3937d7eb8c89e9edbc2678530bbb8e5,0x9c8a87fd73df7b496f7807b7f24152d032973ee6]`
可是报错:

怎么调整都不通,请问是我传参格式的问题吗?
Contributor guide
Research direction
Reproduce the deployment with `deploy EvidenceController 1 [0x62417832c3937d7eb8c89e9edbc2678530bbb8e5,0x9c8a87fd73df7b496f7807b7f24152d032973ee6]` and compare it with the constructor example in the linked documentation image. Trace how the console parses constructor arguments before `encodeMethodFromObject`; done means the documented deployment succeeds or the required argument format is clearly reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100