Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署合约传参报错:deploy contract failed for cannot encode in encodeMethodFromObject with appropriate interface ABI #620

Open
haozirou opened this issue May 18, 2022 · 1 comment
Labels
improve Improve ease of use resolved

Comments

@haozirou
Copy link

haozirou commented May 18, 2022

按照文档写的智能合约例子,构造器是:
image

传参是:deploy EvidenceController 1 [0x62417832c3937d7eb8c89e9edbc2678530bbb8e5,0x9c8a87fd73df7b496f7807b7f24152d032973ee6]
可是报错:
image
怎么调整都不通,请问是我传参格式的问题吗?

@ywy2090
Copy link
Collaborator

ywy2090 commented Jun 28, 2022

地址格式,使用""引起来。

@ywy2090 ywy2090 added resolved improve Improve ease of use labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve Improve ease of use resolved
Projects
None yet
Development

No branches or pull requests

2 participants