Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(quorum-connector): implement validator interface on go-quorum-co…
…nnector Add three new endpoints to quorum ledger connector achieve legacy verifier compatibility. InvokeRawWeb3EthContractEndpoint can be used to form any call to deployed contract. InvokeRawWeb3EthMethodEndpoint can be used to call any web3.eth function. Both are marked as low-level functions, should be used only when there's no designated endpoint for given functionality yet. WatchBlocksV1Endpoint can be used to monitor new block headers / data from the ledger. Type of the output is determined from input option flag. Extend QuorumApiClient to support Verifier interface, that is: block monitoring, and sending sync/async requests. Sending requests is marked as deprecated, because user can use direct REST calls from generated ApiClient, nevertheless this API was requested by one of the teams. Added functional tests for two new, request based endpoints. Moved verifier-besu integration test to besu-test package. Added verifier-quorum integration test, it supplements direct endpoint tests and provides a reference for API usage. Added support for QuorumApiClient in Verifier. Closes: hyperledger-cacti#1604 Signed-off-by: Michal Bajer <[email protected]>
- Loading branch information