Hyperledge结构不创建

时间:2019-02-26 12:15:25

标签: hyperledger-fabric hyperledger

我在超大型游乐场建立了模型和逻辑,此后不久,当我尝试使用生成的示例创建合同时,出现以下错误。会发生什么?

  

错误:尝试调用业务网络时出错。错误:任何对等方均未提供有效响应。来自对等通信尝试的响应是一个错误:错误:事务返回失败:错误:名称空间sdc.network中类型合同的标识符无效或丢失

image with error

我的合约模型:

asset Contract identified by contractId {
  o String contractId
  o Integer quantity
  o Double price_total
  o Returned[] returned 
  o Integer bidId
  --> Bid bid
  o Integer proposalId
  --> Proposal proposal
  o String supplier_id optional
  o String refused_by_id optional
  o String user_id
  o DateTime deleted_at optional
  o DateTime user_signed_at
  o DateTime refused_at optional
  o Status status
} 

0 个答案:

没有答案