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

[PAN-2601] Refactorings and additions to add Account based Smart Contract permissioning #1430

Merged
merged 6 commits into from
May 10, 2019

Conversation

mark-terry
Copy link
Contributor

PR description

Refactored existing code to accommodate both Node and Account based smart contract permissioning. Added code to support Account based operations.

Fixed Issue(s)

#PAN-2601

@@ -14,14 +14,14 @@

import tech.pegasys.pantheon.tests.acceptance.dsl.condition.Condition;
import tech.pegasys.pantheon.tests.acceptance.dsl.node.Node;
import tech.pegasys.pantheon.tests.acceptance.dsl.transaction.perm.SmartContractNodePermissioningTransactions;
import tech.pegasys.pantheon.tests.acceptance.dsl.transaction.perm.NodeSmartContractNodePermissioningTransactions;
Copy link
Contributor

Choose a reason for hiding this comment

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

NodeSmartContractNodePerm... Node Node node?!

@@ -18,32 +18,32 @@
import tech.pegasys.pantheon.tests.acceptance.dsl.node.Node;
import tech.pegasys.pantheon.tests.acceptance.dsl.transaction.Transaction;

public class SmartContractNodePermissioningTransactions {
public class NodeSmartContractNodePermissioningTransactions {
Copy link
Contributor

Choose a reason for hiding this comment

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

Too much node, just NodeSmartContractPermissioningTransactions sounds fine

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-terry mark-terry merged commit ae7f2a8 into PegaSysEng:master May 10, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 14, 2019
…ract permissioning (PegaSysEng#1430)

* [PAN-2601] Renamed SmartContractPermissioningController -> NodeSmartContractPermissioningController incl. relevant fields etc.

* [PAN-2601] Added account smart contract fields to SmartContractPermissioningConfiguration.

* [PAN-2601] Added AccountPermissioningProvider.

* [PAN-2601] Removed superfluous 'node' from some class and field names.

* [PAN-2601] Spotless.
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