forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connector): remove hard dependency on keychain
Primary Changes --------------- 1. Updated besu connector to remove hard dependency on keychain Changes required to incorporate 1) 2. Updated openapi.json file of the above mentioned connectors to include the new no-keychain endpoints 3. Generated code and updated related web-services for the same Fixes hyperledger-cacti#963 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
- Loading branch information
1 parent
36b8470
commit 1d43297
Showing
13 changed files
with
1,586 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...enerated/openapi/models/deploy_contract_solidity_bytecode_no_keychain_v1_request_pb.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
Hyperledger Cactus Plugin - Connector Besu | ||
Can perform basic tasks on a Besu ledger | ||
The version of the OpenAPI document: v2.0.0-alpha.2 | ||
Generated by OpenAPI Generator: https://openapi-generator.tech | ||
*/ | ||
|
||
syntax = "proto3"; | ||
|
||
package org.hyperledger.cacti.plugin.ledger.connector.besu; | ||
|
||
import "google/protobuf/any.proto"; | ||
|
||
import "models/besu_private_transaction_config_pb.proto"; | ||
import "models/web3_signing_credential_pb.proto"; | ||
|
||
message DeployContractSolidityBytecodeNoKeychainV1RequestPB { | ||
|
||
// The contract name for retrieve the contracts json on the keychain. | ||
string contractName = 328784197; | ||
|
||
// The application binary interface of the solidity contract | ||
repeated google.protobuf.Any contractAbi = 512852493; | ||
|
||
// For use when not using keychain, pass the contract in as this string variable | ||
string contractJSONString = 405816750; | ||
|
||
repeated google.protobuf.Any constructorArgs = 336490508; | ||
|
||
Web3SigningCredentialPB web3SigningCredential = 451211679; | ||
|
||
// See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode | ||
string bytecode = 256554254; | ||
|
||
float gas = 102105; | ||
|
||
string gasPrice = 5271059; | ||
|
||
// The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. | ||
float timeoutMs = 51479271; | ||
|
||
BesuPrivateTransactionConfigPB privateTransactionConfig = 276796542; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.