Skip to content

Commit 5f17fde

Browse files
author
Srinivasan Muralidharan
committed
FAB-1252 change chainID from []byte to string
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 <[email protected]>
1 parent ed2d579 commit 5f17fde

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+787
-786
lines changed

core/chaincode/shim/table.pb.go

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/committer/noopssinglechain/client.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (d *DeliverService) seekOldest() error {
200200
Seek: &orderer.SeekInfo{
201201
Start: orderer.SeekInfo_OLDEST,
202202
WindowSize: d.windowSize,
203-
ChainID: []byte(util.GetTestChainID()),
203+
ChainID: util.GetTestChainID(),
204204
},
205205
},
206206
})
@@ -213,7 +213,7 @@ func (d *DeliverService) seekLatestFromCommitter(height uint64) error {
213213
Start: orderer.SeekInfo_SPECIFIED,
214214
WindowSize: d.windowSize,
215215
SpecifiedNumber: height,
216-
ChainID: []byte(util.GetTestChainID()),
216+
ChainID: util.GetTestChainID(),
217217
},
218218
},
219219
})

core/crypto/attributes/proto/attributes.pb.go

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/chaincode/go/utxo/util/dah.pb.go

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)