Skip to content

Conversation

@SatpalSandhu61
Copy link
Contributor

Add support for Privacy Marker Transactions (released in go-quorum v21.7.1).
Note that this PR builds on top of PrivacyEnhancements PR (in the expectation that older PR would be merged to master prior to this one).

These changes mirror the changes made to web3js-quorum in PR#24 and PR#25.

New API methods:

  • eth_distributePrivateTransaction
  • eth_getPrivacyPrecompileAddress
  • eth_getPrivateTransactionByHash
  • eth_getPrivateTransactionReceipt

Transaction receipt modification:

Modified Transaction Receipt to include extra field:

  • isPrivacyMarkerTransaction

Retrieve contract address from private receipt:

If contract is deployed using ClientTransactionManager and the transaction is a Privacy Marker, then the receipt for the inner private transaction is retrieved to obtain the contract address for participants.

@AlexandrouR AlexandrouR merged commit e318e5f into web3j:master Oct 4, 2021
@SatpalSandhu61 SatpalSandhu61 deleted the feature/addPrivacyMarkerTransactions branch October 4, 2021 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants