Skip to content

Commit

Permalink
FAB-1252 change chainID from []byte to string
Browse files Browse the repository at this point in the history
https://jira.hyperledger.org/browse/FAB-1252

Most of the changes are syntactical and are helped by go's
strict type checking. The changes follow the simple change
of
   bytes chainID
to
   string chainID
in protos/common/common.proto.

Change-Id: Id25c009a8bff036098cee0491860907ce0daa02b
Signed-off-by: Srinivasan Muralidharan <muralisr@us.ibm.com>
  • Loading branch information
Srinivasan Muralidharan committed Dec 2, 2016
1 parent ed2d579 commit 5f17fde
Show file tree
Hide file tree
Showing 47 changed files with 787 additions and 786 deletions.
54 changes: 27 additions & 27 deletions core/chaincode/shim/table.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/committer/noopssinglechain/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (d *DeliverService) seekOldest() error {
Seek: &orderer.SeekInfo{
Start: orderer.SeekInfo_OLDEST,
WindowSize: d.windowSize,
ChainID: []byte(util.GetTestChainID()),
ChainID: util.GetTestChainID(),
},
},
})
Expand All @@ -213,7 +213,7 @@ func (d *DeliverService) seekLatestFromCommitter(height uint64) error {
Start: orderer.SeekInfo_SPECIFIED,
WindowSize: d.windowSize,
SpecifiedNumber: height,
ChainID: []byte(util.GetTestChainID()),
ChainID: util.GetTestChainID(),
},
},
})
Expand Down
18 changes: 9 additions & 9 deletions core/crypto/attributes/proto/attributes.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions examples/chaincode/go/utxo/util/dah.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f17fde

Please sign in to comment.