Skip to content

Commit

Permalink
Recompile proto files
Browse files Browse the repository at this point in the history
It appears that chaincode.proto was modified, but 'make protos'
was not run after making this change. This patch is a a result
of running 'make protos'

Change-Id: I2365b82418b5da0597dea560600522a2bc7d615f
Signed-off-by: Sheehan Anderson <sheehan@us.ibm.com>
  • Loading branch information
sheehan authored and gaborh-da committed Aug 19, 2016
1 parent 0363e1d commit 930f3a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bddtests/peer_basic.feature
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Feature: Network of Peers
| a | 10 |
Then I should have received a transactionID
Then I wait up to "25" seconds for transaction to be committed to all peers
Then I check the transaction ID if it is "cbe63379a50f0c9d798951e5ccdf70a5c341acda508d7fa1345841d977825f71"
Then I check the transaction ID if it is "a97267efe0391a5c0be28f79e8cb7f841aca1b952f028ec796b61c92aef6936c"

Scenario: chaincode example 01 single peer rejection message
Given we compose "docker-compose-1-exp.yml"
Expand Down
2 changes: 1 addition & 1 deletion core/chaincode/shim/java/src/main/proto/chaincode.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ message ChaincodeID {

// Carries the chaincode function and its arguments.
message ChaincodeInput {
repeated bytes args = 2;
repeated bytes args = 1;
}

// Carries the chaincode specification. This is the actual metadata required for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ type SimpleChaincode struct {
func (t *SimpleChaincode) GetChaincodeToCall() string {
//This is the hashcode for github.com/hyperledger/fabric/core/example/chaincode/chaincode_example02
//if the example is modifed this hashcode will change!!
chainCodeToCall := "5cbb88224e34d5c366603a5a9f7989f5a3eb02729fff85c19ce43db249ada678d5189e587d3ca88cf8b46b31b89cc9000aec9b9511877478ef70166dc6eaa7c0" //with SHA3

chainCodeToCall := "0588c9b192603a2d39f2223ec524e30119698a36e77369c9d6df2ca16b85043406c67502787362e99f46d68b81b3f59000a149041ddba90047cf72e56fdfce96"
return chainCodeToCall
}

Expand Down
2 changes: 1 addition & 1 deletion protos/chaincode.pb.go

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

0 comments on commit 930f3a6

Please sign in to comment.