-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support mandatory recipients #1243
Support mandatory recipients #1243
Conversation
…eject if PTM does not support correct version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
The change is to allow users to add a
mandatoryFor
parameter when sending a transaction to Quorum. This feature is useful for use cases where there are requirements for regulatory/observing entities that will have access to the full state of a contract.Changes
MandatoryRecipients(2)
. Transactions sent with this enhanced privacy mode will inherit the validations ofPartyProtection
but notStateValidation
. It allows state divergence.mandatoryFor : []
- which are private TM public keys - otherwise it will be rejectedmandatoryFor
will need to be included in theprivateFor
otherwise transaction will be rejected./send
and/sendsignedtx
requests to private TM will include mandatory recipients datamandatoryFor
members will also be checked against the contracts that the transaction impact. This is achieved by evm simulation that returns a list of ACOTHs and validations performed in Tessera