shankur / fabric Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
2020-06-17 10:20:17.851 UTC [endorser] SimulateProposal -> ERRO 2398 [mychannel][2efe9dbc] failed to invoke chaincode name:"simple" , error: chaincode simple:v0 has already been launched
github.com/hyperledger/fabric/core/chaincode.(*HandlerRegistry).Launching
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/handler_registry.go:77
github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).start
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:85
github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:58
github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Launch
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:117
github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Invoke
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:227
github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:179
github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
/opt/gopath/src/github.com/hyperledger/fabric/core/endorser/support.go:150
github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode
/opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:136
Hi, I tried to set MaxUniqueKeys: 1024 in configtx.yaml,but encountered some trouble,can you help @murrekatt @
@corecode
configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
2021-10-28 15:56:15.701 CST [common/tools/configtxgen] main -> WARN 001 Omitting the channel ID for configtxgen is deprecated. Explicitly passing the channel ID will be required in the future, defaulting to 'testchainid'.
2021-10-28 15:56:15.701 CST [common/tools/configtxgen] main -> INFO 002 Loading configuration
2021-10-28 15:56:15.705 CST [common/tools/configtxgen/localconfig] Load -> CRIT 003 Error unmarshaling config into struct: 2 error(s) decoding:
'Orderer.BatchSize' has invalid keys: MaxUniqueKeys
'Profiles[TwoOrgsOrdererGenesis].Orderer.BatchSize' has invalid keys: MaxUniqueKeys
Environment I've tried:
Go version: 1.9.7/1.10/1.11/1.12/1.13
When I run
make docker
It happens:
Building dockerized gotools
make[1]: Entering directory '/opt/gopath/src/github.com/hyperledger/fabric'
Building github.com/maxbrunsfeld/counterfeiter -> counterfeiter
package github.com/maxbrunsfeld/counterfeiter/v6/arguments: cannot find package "github.com/maxbrunsfeld/counterfeiter/v6/arguments" in any of:
/opt/go/src/github.com/maxbrunsfeld/counterfeiter/v6/arguments (from $GOROOT)
/opt/gotools/obj/src/github.com/maxbrunsfeld/counterfeiter/v6/arguments (from $GOPATH)
package github.com/maxbrunsfeld/counterfeiter/v6/command: cannot find package "github.com/maxbrunsfeld/counterfeiter/v6/command" in any of:
/opt/go/src/github.com/maxbrunsfeld/counterfeiter/v6/command (from $GOROOT)
/opt/gotools/obj/src/github.com/maxbrunsfeld/counterfeiter/v6/command (from $GOPATH)
package github.com/maxbrunsfeld/counterfeiter/v6/generator: cannot find package "github.com/maxbrunsfeld/counterfeiter/v6/generator" in any of:
/opt/go/src/github.com/maxbrunsfeld/counterfeiter/v6/generator (from $GOROOT)
/opt/gotools/obj/src/github.com/maxbrunsfeld/counterfeiter/v6/generator (from $GOPATH)
gotools.mk:53: recipe for target 'gotool.counterfeiter' failed
make[1]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric'
make[1]: *** [gotool.counterfeiter] Error 1
gotools.mk:58: recipe for target '/opt/gotools/bin/counterfeiter' failed
make: *** [/opt/gotools/bin/counterfeiter] Error 2
make: *** [.build/docker/gotools] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.