hyperledger-cacti / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
344 stars 286 forks source link

fix(besu): deployContractSolBytecodeNoKeychainV1 requires keychainId #3586

Closed petermetz closed 1 month ago

petermetz commented 1 month ago

Description

In the DeployContractSolidityBytecodeNoKeychainV1Request of packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.tpl.json there are parameters that are required despite the entire point of this operation is to not need them (e.g. keychainId and contract JSON object).

Acceptance Criteria

  1. The OpenAPI specs for the endpoints are refactored so that only the really needed parameters are declared as required
  2. Build and tests are still passing after the change.