Skip to content

Commit

Permalink
updated the fabric version in the configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Sanket Teli <[email protected]>
  • Loading branch information
Sanket-0510 committed Aug 9, 2024
1 parent 2e06b89 commit a595ca6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/fablo-config-hlf2-1org-1chaincode.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://github.com/hyperledger-labs/fablo/releases/download/1.2.1-unstable.0/schema.json",
"global": {
"fabricVersion": "2.4.7",
"fabricVersion": "2.5.9",
"tls": false
},
"orgs": [
Expand Down
2 changes: 1 addition & 1 deletion src/extend-config/extendGlobal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import defaults from "./defaults";
const getNetworkCapabilities = (fabricVersion: string): Capabilities => {

if (version(fabricVersion).isGreaterOrEqual("2.5.0"))
return { channel: "V2_5", orderer: "V2_5", application: "V2_5", isV2: true };
return { channel: "V2_0", orderer: "V2_0", application: "V2_5", isV2: true };

return { channel: "V2_0", orderer: "V2_0", application: "V2_0", isV2: true };
};
Expand Down
4 changes: 2 additions & 2 deletions src/types/FabloConfigExtended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ interface CapabilitiesV2 {

interface CapabilitiesV_2_5 {
application: "V2_5";
channel: "V2_5";
orderer: "V2_5";
channel: "V2_0";
orderer: "V2_0";
isV2: true;
}

Expand Down

0 comments on commit a595ca6

Please sign in to comment.