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

[PAN-2943] Renames various eea methods to priv methods, with associated docs #1736

Merged
merged 11 commits into from
Jul 25, 2019

Conversation

josh-richardson
Copy link
Contributor

PR description

Renames various eea methods to priv methods, as discussed on call this morning.

Fixed Issue(s)

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.

Enabling of the priv_ methods using --rpc-http-api and --ws-http-api needs updating to add PRIV. Each set of methods is enabled by specifying the namespace with these options so the same is needed with priv so it's consistent.

@josh-richardson
Copy link
Contributor Author

I hope this commit addresses the required changes: 5bc6242

@lucassaldanha
Copy link
Contributor

lucassaldanha commented Jul 23, 2019

Enabling of the priv_ methods using --rpc-http-api and --ws-http-api needs updating to add PRIV.

Do we want to have the PRIV group or will we enable everything with the EEA group?

@MadelineMurray
Copy link
Contributor

As discussed, EEA enables EEA methods and PRIV enables the extended Pantheon privacy

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.

Had further discussions re methods and EEA and the following two methods will also need to be moved to the priv_ namespace:
eea_getTransactionCount -> priv_getTransactionCount
eea_getPrivateTransaction -> priv_getPrivateTransaction

@josh-richardson
Copy link
Contributor Author

My latest commit addresses the two new refactors. Unsure whether to put tech.pegasys.pantheon.tests.acceptance.dsl.transaction.eea.PrivGetTransactionCountTransaction into its own package now, or not.

@lucassaldanha
Copy link
Contributor

Unsure whether to put tech.pegasys.pantheon.tests.acceptance.dsl.transaction.eea.PrivGetTransactionCountTransaction into its own package now, or not.

I'd put it into a tech.pegasys.pantheon.tests.acceptance.dsl.transaction.priv package.

Copy link
Contributor

@CjHare CjHare left a comment

Choose a reason for hiding this comment

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

TODO remaining in the code

Copy link
Contributor

@iikirilov iikirilov left a comment

Choose a reason for hiding this comment

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

LGTM

@MadelineMurray MadelineMurray merged commit eb88603 into PegaSysEng:master Jul 25, 2019
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Jul 26, 2019
…ed docs (PegaSysEng#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
@josh-richardson josh-richardson deleted the eea-rename-priv branch July 30, 2019 10:14
josh-richardson added a commit to josh-richardson/pantheon that referenced this pull request Jul 30, 2019
…ed docs (PegaSysEng#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
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
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.

6 participants