Skip to content

Commit

Permalink
feat(openapi): upgrade to 6.3.0 phase1
Browse files Browse the repository at this point in the history
    Primary Changes
    ---------------
    1. Updated openapitoos.json for various plugins to use 6.3.0
    version of openapi generator
    2. Relevant code for each plugin was generated

    openapitools.json is updated for the following plugins to
    incorporate 1)
    ------------------------------------------------------------
    a. extensions/cactus-plugin-htlc-coordinator-besu
    b. packages/cactus-plugin-htlc-eth-besu
    c. packages/cactus-plugin-htlc-eth-besu-erc20
    d. packages/cactus-plugin-ledger-connector-besu
    e. packages/cactus-plugin-ledger-connector-quorum
    f. packages/cactus-cmd-api-server
    g. packages/cactus-core-api
    h. packages/cactus-plugin-consortium-manual
    i. packages/cactus-plugin-keychain-aws-sm
    j. packages/cactus-plugin-keychain-azure-kv
    k. packages/cactus-plugin-keychain-google-sm
    l. packages/cactus-plugin-keychain-memory
    m. packages/cactus-plugin-keychain-memory-wasm
    n. packages/cactus-plugin-keychain-vault
    o. packages/cactus-plugin-ledger-connector-ubiquity
    p. packages/cactus-plugin-ledger-connector-xdai packages/cactus-plugin-odap-hermes
    q. examples/cactus-example-carbon-accounting-business-logic-plugin

Fixes hyperledger#2298

Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
  • Loading branch information
jagpreetsinghsasan authored and barnapa committed Jun 15, 2023
1 parent 28f6184 commit b3b662a
Showing 1 changed file with 82 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,36 +165,42 @@ export interface DeployContractSolidityBytecodeV1Request {
* @memberof DeployContractSolidityBytecodeV1Request
*/
'contractName': string;
<<<<<<< HEAD
/**
* The application binary interface of the solidity contract
* @type {Array<any>}
* @memberof DeployContractSolidityBytecodeV1Request
*/
'contractAbi'?: Array<any>;
=======
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
* The application binary interface of the solidity contract
* @type {Array<any>}
* @memberof DeployContractSolidityBytecodeV1Request
*/
contractAbi?: Array<any>;
'contractAbi'?: Array<any>;
/**
*
* @type {Web3SigningCredential}
* @memberof DeployContractSolidityBytecodeV1Request
*/
'web3SigningCredential': Web3SigningCredential;
<<<<<<< HEAD
/**
* See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode
* @type {string}
* @memberof DeployContractSolidityBytecodeV1Request
*/
'bytecode'?: string;
=======
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
* See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode
* @type {string}
* @memberof DeployContractSolidityBytecodeV1Request
*/
bytecode?: string;
'bytecode'?: string;
/**
* The keychainId for retrieve the contracts json.
* @type {string}
Expand All @@ -212,31 +218,43 @@ export interface DeployContractSolidityBytecodeV1Request {
* @type {number}
* @memberof DeployContractSolidityBytecodeV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'gasPrice'?: number;
=======
gasPrice?: number;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'gasPrice'?: number;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {number}
* @memberof DeployContractSolidityBytecodeV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'nonce'?: number;
=======
nonce?: number;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'nonce'?: number;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {number}
* @memberof DeployContractSolidityBytecodeV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'value'?: number;
=======
value?: number;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'value'?: number;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
* The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing.
* @type {number}
Expand All @@ -254,21 +272,29 @@ export interface DeployContractSolidityBytecodeV1Request {
* @type {Array<any>}
* @memberof DeployContractSolidityBytecodeV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'constructorArgs'?: Array<any>;
=======
constructorArgs?: Array<any>;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'constructorArgs'?: Array<any>;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {QuorumPrivateTransactionConfig}
* @memberof DeployContractSolidityBytecodeV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
=======
privateTransactionConfig?: QuorumPrivateTransactionConfig;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
}
/**
*
Expand Down Expand Up @@ -384,21 +410,29 @@ export interface InvokeContractJsonObjectV1Request {
* @type {ContractJSON}
* @memberof InvokeContractJsonObjectV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'contractJSON': ContractJSON;
=======
contractJSON: ContractJSON;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'contractJSON': ContractJSON;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {QuorumPrivateTransactionConfig}
* @memberof InvokeContractJsonObjectV1Request
*/
<<<<<<< HEAD
<<<<<<< HEAD
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
=======
privateTransactionConfig?: QuorumPrivateTransactionConfig;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
}


Expand Down Expand Up @@ -615,6 +649,7 @@ export interface InvokeRawWeb3EthMethodV1Response {
* @memberof InvokeRawWeb3EthMethodV1Response
*/
'errorDetail'?: string;
<<<<<<< HEAD
}
/**
*
Expand Down Expand Up @@ -664,6 +699,8 @@ export interface QuorumPrivateTransactionConfig {
* @memberof QuorumPrivateTransactionConfig
*/
'privacyGroupId'?: string;
=======
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
}
/**
*
Expand All @@ -676,43 +713,43 @@ export interface QuorumPrivateTransactionConfig {
* @type {string}
* @memberof QuorumPrivateTransactionConfig
*/
privateFrom?: string;
'privateFrom'?: string;
/**
*
* @type {Array<any>}
* @memberof QuorumPrivateTransactionConfig
*/
privateFor: Array<any>;
'privateFor': Array<any>;
/**
*
* @type {boolean}
* @memberof QuorumPrivateTransactionConfig
*/
isPrivate?: boolean;
'isPrivate'?: boolean;
/**
*
* @type {number}
* @memberof QuorumPrivateTransactionConfig
*/
gasPrice?: number;
'gasPrice'?: number;
/**
*
* @type {number}
* @memberof QuorumPrivateTransactionConfig
*/
gasLimit?: number;
'gasLimit'?: number;
/**
*
* @type {string}
* @memberof QuorumPrivateTransactionConfig
*/
privateKey?: string;
'privateKey'?: string;
/**
*
* @type {string}
* @memberof QuorumPrivateTransactionConfig
*/
privacyGroupId?: string;
'privacyGroupId'?: string;
}
/**
*
Expand Down Expand Up @@ -806,21 +843,29 @@ export interface RunTransactionRequest {
* @type {number}
* @memberof RunTransactionRequest
*/
<<<<<<< HEAD
<<<<<<< HEAD
'timeoutMs'?: number;
=======
timeoutMs?: number;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'timeoutMs'?: number;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {QuorumPrivateTransactionConfig}
* @memberof RunTransactionRequest
*/
<<<<<<< HEAD
<<<<<<< HEAD
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
=======
privateTransactionConfig?: QuorumPrivateTransactionConfig;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'privateTransactionConfig'?: QuorumPrivateTransactionConfig;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
}
/**
*
Expand Down Expand Up @@ -1522,71 +1567,99 @@ export interface Web3TransactionReceipt {
* @type {string}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'to': string;
=======
to: string;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'to': string;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {Array<any>}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'logs'?: Array<any>;
=======
logs?: Array<any>;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'logs'?: Array<any>;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {string}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'logsBloom'?: string;
=======
logsBloom?: string;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'logsBloom'?: string;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {string}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'revertReason'?: string;
=======
revertReason?: string;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'revertReason'?: string;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {string}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'output'?: string;
=======
output?: string;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'output'?: string;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {string}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'commitmentHash'?: string;
=======
commitmentHash?: string;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'commitmentHash'?: string;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
/**
*
* @type {number}
* @memberof Web3TransactionReceipt
*/
<<<<<<< HEAD
<<<<<<< HEAD
'cumulativeGasUSed'?: number;
=======
cumulativeGasUSed?: number;
>>>>>>> fe15a9e6 (feat(quorum): private transaction support)
=======
'cumulativeGasUSed'?: number;
>>>>>>> aadb00bc (feat(openapi): upgrade to 6.3.0 phase1)
}

/**
Expand Down

0 comments on commit b3b662a

Please sign in to comment.