fixed-asset Go chaincode fails to deploy on test-network
davidkel opened this issue · 1 comments
davidkel commented
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 2 "fabric/api/fixed-asset/go/utils
fabric/api/fixed-asset/go/assets
github.com/hyperledger/fabric-contract-api-go/contractapi/utils
github.com/rogpeppe/go-internal/semver
github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx
google.golang.org/grpc/internal/grpcsync
github.com/mailru/easyjson/buffer
golang.org/x/text/transform
google.golang.org/grpc/encoding
google.golang.org/grpc/keepalive
google.golang.org/grpc/internal/grpcrand
google.golang.org/grpc/tap
golang.org/x/sys/unix
golang.org/x/net/internal/timeseries
google.golang.org/grpc/grpclog
google.golang.org/grpc/credentials/internal
google.golang.org/grpc/codes
google.golang.org/grpc/metadata
github.com/golang/protobuf/proto
google.golang.org/grpc/internal/backoff
google.golang.org/grpc/internal/envconfig
golang.org/x/text/unicode/bidi
golang.org/x/net/http2/hpack
github.com/mailru/easyjson/jlexer
github.com/mailru/easyjson/jwriter
gopkg.in/yaml.v2
golang.org/x/text/unicode/norm
github.com/PuerkitoBio/urlesc
google.golang.org/grpc/connectivity
google.golang.org/grpc/internal/balancerload
golang.org/x/net/trace
google.golang.org/grpc/internal
google.golang.org/grpc/stats
google.golang.org/grpc/naming
google.golang.org/grpc/serviceconfig
golang.org/x/text/width
github.com/xeipuuv/gojsonpointer
github.com/joho/godotenv
google.golang.org/grpc/resolver
github.com/rogpeppe/go-internal/module
golang.org/x/text/secure/bidirule
github.com/gobuffalo/packd
github.com/xeipuuv/gojsonreference
google.golang.org/grpc/resolver/dns
google.golang.org/grpc/resolver/passthrough
github.com/rogpeppe/go-internal/modfile
github.com/xeipuuv/gojsonschema
golang.org/x/net/idna
google.golang.org/grpc/internal/syscall
github.com/gobuffalo/envy
golang.org/x/net/http/httpguts
github.com/PuerkitoBio/purell
github.com/go-openapi/swag
github.com/gobuffalo/packr
golang.org/x/net/http2
github.com/golang/protobuf/ptypes/timestamp
google.golang.org/grpc/encoding/proto
github.com/hyperledger/fabric-protos-go/ledger/rwset
github.com/hyperledger/fabric-protos-go/msp
github.com/golang/protobuf/ptypes/any
google.golang.org/grpc/credentials
github.com/golang/protobuf/ptypes/duration
github.com/hyperledger/fabric-contract-api-go/internal/utils
github.com/go-openapi/jsonpointer
github.com/hyperledger/fabric-protos-go/ledger/queryresult
google.golang.org/genproto/googleapis/rpc/status
github.com/golang/protobuf/ptypes
google.golang.org/grpc/binarylog/grpc_binarylog_v1
github.com/go-openapi/jsonreference
google.golang.org/grpc/internal/channelz
google.golang.org/grpc/peer
google.golang.org/grpc/balancer
github.com/go-openapi/spec
google.golang.org/grpc/status
github.com/hyperledger/fabric-chaincode-go/pkg/attrmgr
github.com/hyperledger/fabric-protos-go/common
google.golang.org/grpc/balancer/base
google.golang.org/grpc/balancer/roundrobin
google.golang.org/grpc/internal/binarylog
github.com/hyperledger/fabric-chaincode-go/pkg/cid
github.com/hyperledger/fabric-contract-api-go/internal/types
github.com/hyperledger/fabric-contract-api-go/metadata
google.golang.org/grpc/internal/transport
github.com/hyperledger/fabric-contract-api-go/serializer
github.com/hyperledger/fabric-contract-api-go/internal
google.golang.org/grpc
github.com/hyperledger/fabric-protos-go/peer
github.com/hyperledger/fabric-chaincode-go/shim/internal
github.com/hyperledger/fabric-chaincode-go/shim
github.com/hyperledger/fabric-contract-api-go/contractapi
fabric/api/fixed-asset/go
# fabric/api/fixed-asset/go
./FixedAssetContract.go:206:70: undefined: bytes
"
bug in the code line 206 bytes
should be content