Skip to content
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

whitelist -> allowlist and on-chain -> onchain #1131

Merged
merged 5 commits into from
Jun 23, 2020

Conversation

macfarla
Copy link
Contributor

Signed-off-by: Sally MacFarlane sally.macfarlane@consensys.net

More internal renames of whitelist -> allowlist
Also changed instances of on-chain -> onchain

See #1108

macfarla added 2 commits June 23, 2020 08:15
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
@macfarla macfarla requested a review from mark-terry June 22, 2020 22:37
Copy link
Contributor

@mark-terry mark-terry left a comment

Choose a reason for hiding this comment

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

Some comments.

@@ -68,11 +68,11 @@ public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
} catch (final MultiTenancyValidationException e) {
LOG.error("Unauthorized privacy multi-tenancy rpc request. {}", e.getMessage());
return new JsonRpcErrorResponse(
requestContext.getRequest().getId(), FIND_ON_CHAIN_PRIVACY_GROUP_ERROR);
requestContext.getRequest().getId(), FIND_ONCHAIN_PRIVACY_GROUP_ERROR);
} catch (final Exception e) {
LOG.error("Failed to fetch on chain privacy group", e);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this message need to be updated?

NODE_WHITELIST_EXISTING_ENTRY(-32000, "Cannot add an existing node to allowlist"),
NODE_WHITELIST_MISSING_ENTRY(-32000, "Cannot remove an absent node from allowlist"),
NODE_WHITELIST_FIXED_NODE_CANNOT_BE_REMOVED(
NODE_ALLOWLIST_NOT_ENABLED(-32000, "Node allowlisting has not been enabled"),
Copy link
Contributor

Choose a reason for hiding this comment

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

"allowlisting" or "allowlist" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do not have a strong opinion on this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok we're deciding that allowlist is a noun not a verb. but changes will come in a new PR

macfarla added 3 commits June 23, 2020 13:13
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Copy link
Contributor

@mark-terry mark-terry 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 f229d5a into hyperledger:master Jun 23, 2020
@macfarla macfarla deleted the whitelist-more branch June 23, 2020 05:29
rain-on pushed a commit to rain-on/besu that referenced this pull request Jun 25, 2020
* whitelist -> allowlist and on-chain -> onchain

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants