Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2971] Remove enclave public key from parameter #1777

Merged
merged 2 commits into from
Jul 29, 2019

Conversation

iikirilov
Copy link
Contributor

@iikirilov iikirilov commented Jul 29, 2019

PR description

Removes enclave public key from parameter list as it is used in the implementation in Orion to not send the request to itself.

Fixed Issue(s)

PAN-2971

Copy link
Contributor

@MadelineMurray MadelineMurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the change we want (ie, we want to confirm the request is coming from the Orion node that's part of the group being deleted and it should otherwise fail).

Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lucassaldanha
Copy link
Contributor

I'm not sure this is the change we want (ie, we want to confirm the request is coming from the Orion node that's part of the group being deleted and it should otherwise fail).

From Ivaylo:
The Orion node won't ever in any case be part of a group it cannot delete. The ID is only used not to send the request to itself. i.e. the request to delete is sent to the list of participants except for the deletor - because they are making the request.

@lucassaldanha lucassaldanha dismissed MadelineMurray’s stale review July 29, 2019 22:26

This is not needed.

@lucassaldanha lucassaldanha merged commit 98642af into PegaSysEng:master Jul 29, 2019
josh-richardson pushed a commit to josh-richardson/pantheon that referenced this pull request Jul 30, 2019
MadelineMurray pushed a commit that referenced this pull request Jul 30, 2019
* [PAN-2943] Renames various eea methods to priv methods, with associated docs (#1736)

* Renames various eea methods to priv methods, with associated docs

* Restructures packages

* Adds priv commandline switch

* Refactors eea_getTransactionCount and eea_getPrivateTransaction to priv

* Changes package structure and fixes TODO

* Remove whitespace

* Update docs with new method names

* [PAN-2972] Additional integration test for contract creation with privacyGroupId (#1762)

* Unit test for send raw transaction with privacy group

* Integration test works a bit better now, need to abstract to a separate subclass, fix verifyForParticipants logic bug

* Abstracts nodeCanDeployWithPrivacyGroupId to separate acceptance test

* Tidies up integration test

* Fix whitespace

* Fix inspection issues

* Restructure private transaction builder

* Fix default privateFrom behaviour

* Remove enclave public key from parameter (#1777)

* [PAN-2982] Modifies PrivGetPrivateTransaction to take public tx hash (#1778)

* Modifies PrivGetPrivateTransaction to take public tx hash

* Fix star imports
@iikirilov iikirilov deleted the PAN-2971 branch August 16, 2019 14:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants