Code Monkey home page Code Monkey logo

fabric's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fabric's Issues

When I use the caliper test, the following error will be reported. Is there any configuration?

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

About MaxUniqueKeys in paper

image
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
微信图片编辑_20211028163611
微信图片_20211028163145

gotools.mk:53: recipe for target 'gotool.counterfeiter' failed

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.