Skip to content

Commit

Permalink
Remove chaincode legacy cli command
Browse files Browse the repository at this point in the history
This commit is to remove peer cli chaincode command to get rid of
deprecated chaincode lifecycle.

Signed-off-by: Artem Barger <artem@bargr.net>
  • Loading branch information
C0rWin committed Dec 28, 2023
1 parent 4201eb5 commit d0aa67d
Show file tree
Hide file tree
Showing 30 changed files with 377 additions and 5,999 deletions.
2 changes: 0 additions & 2 deletions cmd/peer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"strings"

"github.com/hyperledger/fabric/bccsp/factory"
"github.com/hyperledger/fabric/internal/peer/chaincode"
"github.com/hyperledger/fabric/internal/peer/channel"
"github.com/hyperledger/fabric/internal/peer/common"
"github.com/hyperledger/fabric/internal/peer/lifecycle"
Expand Down Expand Up @@ -42,7 +41,6 @@ func main() {

mainCmd.AddCommand(version.Cmd())
mainCmd.AddCommand(node.Cmd())
mainCmd.AddCommand(chaincode.Cmd(nil, cryptoProvider))
mainCmd.AddCommand(channel.Cmd(nil))
mainCmd.AddCommand(lifecycle.Cmd(cryptoProvider))
mainCmd.AddCommand(snapshot.Cmd(cryptoProvider))
Expand Down
157 changes: 0 additions & 157 deletions internal/peer/chaincode/chaincode.go

This file was deleted.

Loading

0 comments on commit d0aa67d

Please sign in to comment.