Skip to content

Chaincode installation enhancement #52

@this-kramer

Description

@this-kramer

Is your feature request related to a problem? Please describe.
Currently, the installation script installChaincode.sh installs some version (which can be specified in a parameter) of our chain code. This assumes that no chaincode is installed yet.

There are more scenarios for a network in production like updating existing chaincode and installing several chaincode packages side by side. There should be an option for specifying the channel on which the chaincode is installed and maybe also the set of peers.

Describe the solution you'd like
We should extend the functionalities of the installChaincode script while keeping its complexity manageable. Features should be:

  • Updating chaincode (new version)
  • Installing chaincode to a channel that already has a chaincode defined on it
  • Specifying another channel than mychannel
  • Specifying the set of peers on which we want to install the chaincode
  • Maybe: Building the chaincode using a job instead of on the host machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions