-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FABN-909] Use new fabric-protos module
Delete all of the protocol buffer definitions from the fabric-client module, since they are now present in the fabric-protos module. For both fabric-client and fabric-ca-client, remove the ProtoLoader class, add a dependency on fabric-protos, and remove the copying of protos between the two modules via gulp script. Rewrite all code in the fabric-client module to load the protocol buffer definitions from the fabric-protos module instead; this means a general rewrite of code like: const _commonProtos = ProtoLoader.load(...).common; ... const block = _commonProtos.Block.decode(...); -to- const fabprotos = require('fabric-protos'); const block = fabprotos.common.Block.decode(...); Change-Id: Id632b78bcadb1e4b037b0c153cc66920f3f0e733 Signed-off-by: Simon Stone <[email protected]>
- Loading branch information
Simon Stone
committed
Jan 22, 2019
1 parent
97813bc
commit 7703030
Showing
66 changed files
with
413 additions
and
3,863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.