Skip to content

Commit

Permalink
feat(cactus-consortium): add Ethereum ledger type
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
  • Loading branch information
RafaelAPB authored and petermetz committed Nov 30, 2024
1 parent a1be603 commit 4265725
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 27 deletions.
26 changes: 13 additions & 13 deletions packages/cacti-plugin-consortium-static/src/main/json/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,6 @@
}
}
},
"LedgerType": {
"description": "Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \"BESU_1X\" involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation.",
"type": "string",
"enum": [
"BESU_1X",
"BESU_2X",
"BURROW_0X",
"CORDA_4X",
"ETHEREUM",
"FABRIC_2",
"SAWTOOTH_1X"
]
},
"CactusNodeMeta": {
"description": "A Cactus node meta information",
"type": "object",
Expand Down Expand Up @@ -334,6 +321,19 @@
}
}
}
},
"LedgerType": {
"description": "Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \"BESU_1X\" involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation.",
"type": "string",
"enum": [
"BESU_1X",
"BESU_2X",
"BURROW_0X",
"CORDA_4X",
"ETHEREUM",
"FABRIC_2",
"SAWTOOTH_1X"
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,27 +115,14 @@
"$ref": "#/components/schemas/LedgerId"
},
"ledgerType": {
"$ref": "#/components/schemas/LedgerType",
"$ref": "../../../../../packages/cactus-core-api/src/main/json/openapi.json#/components/schemas/LedgerType",
"nullable": false
},
"consortiumMemberId": {
"$ref": "#/components/schemas/ConsortiumMemberId"
}
}
},
"LedgerType": {
"description": "Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \"BESU_1X\" involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation.",
"type": "string",
"enum": [
"BESU_1X",
"BESU_2X",
"BURROW_0X",
"CORDA_4X",
"ETHEREUM",
"FABRIC_2",
"SAWTOOTH_1X"
]
},
"CactusNodeMeta": {
"description": "A Cactus node meta information",
"type": "object",
Expand Down

0 comments on commit 4265725

Please # to comment.