Blockchain workbench不支持getter函数(返回参数的函数)? [英] Blockchain workbench doesn't support getter functions (functions that return parameters)?

查看:56
本文介绍了Blockchain workbench不支持getter函数(返回参数的函数)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的签名功能有问题:

公共视图返回(uint ...)。 

配置它们就像其他在配置json中的函数,我收到如下错误:
$


"将getDeployedContracts函数添加到ContractCreator工作流的ContractCreator合同中。它目前不存在或具有不同的功能签名和不同的参数名称,或者没有公共/外部可见性"
$


我需要这些功能,因为我打算使用workbench API并希望为我的映射和数组提供一些getter。



谢谢

I have a problem with functions that in their signature has:
public view returns(uint...). 
While configuring them just like the other functions in the configuration json, I get an error like:

"Add the getDeployedContracts function to the ContractCreator contract for the ContractCreator workflow. It currently doesn’t exist or has a different function signature with different parameter names, or without public/external visibility"

I need these functions as I am planning to use the workbench API and would like to have some getters for my mappings and arrays.

Thanks

推荐答案

您好,

Hi,

请查看此文档  Azure Blockchain Workbench
配置参考
   数组 它
我使用getter函数。您是否可以共享配置文件?

Please check this document Azure Blockchain Workbench configuration reference in the section about arrays it mentions the use of getter functions. Is it possible for you to share the configuration file?

问候,

Alberto Vega

Alberto Vega


这篇关于Blockchain workbench不支持getter函数(返回参数的函数)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆