-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
feat(besu): 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.tpl.json to have non-keychain endpoints 3. Generated code and updated web-services for them 4. Updated transact( ) and deployContract( ) fx 5. Added deployContractNoKeychain( ) fx Fixes #963 Signed-off-by: jagpreetsinghsasan <[email protected]>
1 parent
497ea32
commit 47ebdec
Showing
19 changed files
with
2,191 additions
and
476 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: 2.0.0-rc.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.