-
Notifications
You must be signed in to change notification settings - Fork 22
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
deployWasmContract的时候报错 #49
Comments
本地的链吗? 还是开放网络? XRC01合约有过修改吗? |
开放网络,39.156.69.83:37100,xrc01的合约没有动过,就是那个example/xrc01里面的,我只编译了一下。 |
另外大佬能不能把你们编译好的xcr01.wasm丢一个出来,我试试看是什么现象,看是不是我编译的文件有问题。 |
是按照这个文档使用xdev 编译的就没问题:https://xuper.baidu.com/n/xuperdoc/advanced_usage/contract_management.html#wasm |
对的,就是这个文档,另外我还用了文档里面的命令行去发布,但是也报了问题: |
开放网络不能用cli做set相关操作,使用SDK吧,贴一下完整的操作流程和代码,看下是哪里的问题 |
private static String contractAccount = "XC9791514561575675@xuper";
|
endorseServiceHost: "39.156.69.83:37100" 是否需要进行合规性背书isNeedComplianceCheck: true 是否需要支付合规性背书费用isNeedComplianceCheckFee: true 合规性背书费用complianceCheckEndorseServiceFee: 400 支付合规性背书费用的收款地址complianceCheckEndorseServiceFeeAddr: aB2hpHnTBDxko3UoP2BpBZRujwhdcAFoT 如果通过合规性检查,签发认证签名的地址complianceCheckEndorseServiceAddr: jknGxa6eyum1JrATWvSJKW3thJ9GKHA9n |
我这个代码流程上有问题吗?还是说可能是wasm有问题呢? |
|
|
方便提供以下信息吗:
|
编译wasm的机器为: 调用xuper-Java-sdk的机器为macOs Catalina 10.15.7 另外: |
好的,辛苦用这一份xrc01的代码编译部署试下,在这里可以找到:
|
能查询到account里面还有98万,account也关联了合约账号,在这里推那个xrc01资产管理合约的时候报错:
maven引入的0.3.0,麻烦大佬帮我看看是什么问题?
The text was updated successfully, but these errors were encountered: