-
Notifications
You must be signed in to change notification settings - Fork 130
[PAN-2943] Renames various eea methods to priv methods, with associated docs #1736
[PAN-2943] Renames various eea methods to priv methods, with associated docs #1736
Conversation
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.
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.
I hope this commit addresses the required changes: 5bc6242 |
Do we want to have the PRIV group or will we enable everything with the EEA group? |
As discussed, EEA enables EEA methods and PRIV enables the extended Pantheon privacy |
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.
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
My latest commit addresses the two new refactors. Unsure whether to put |
… into eea-rename-priv
4bf0d07
to
6aa6aa7
Compare
I'd put it into a |
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.
TODO remaining in the code
...reum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/JsonRpcMethodsFactory.java
Outdated
Show resolved
Hide resolved
...reum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/JsonRpcMethodsFactory.java
Outdated
Show resolved
Hide resolved
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
…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
…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
* [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
PR description
Renames various eea methods to priv methods, as discussed on call this morning.
Fixed Issue(s)