-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
x/bank v0.43 Audit updates #9271
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9271 +/- ##
=======================================
Coverage 60.32% 60.32%
=======================================
Files 591 591
Lines 36936 36936
=======================================
Hits 22282 22282
Misses 12683 12683
Partials 1971 1971
|
x/bank/spec/02_keepers.md
Outdated
@@ -14,15 +14,15 @@ permissions are limited in the way that you expect. | |||
|
|||
## Blacklisting Addresses | |||
|
|||
The `x/bank` module accepts a map of addresses that are considered blocklisted | |||
The `x/bank` module accepts a map of addresses that are considered blacklisted |
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.
We need an alternative to "blacklist": https://developers.google.com/style/word-list#letter-b. This wording was intentional.
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.
Yeah, i was thinking about that when i was reading through the spec. How about denylist
? I think i've seen a few org's make the change to denylist
and allowlist
.
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.
I don't have a strong preference personally
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.
Looks like blocklisted was already heavily used, just a few comments weren't changed. I'll go with blocklist
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.
just a changelog nit
DelegateCoins(ctx sdk.Context, delegatorAddr, moduleAccAddr sdk.AccAddress, amt sdk.Coins) error | ||
UndelegateCoins(ctx sdk.Context, moduleAccAddr, delegatorAddr sdk.AccAddress, amt sdk.Coins) error | ||
|
||
types.QueryServer |
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.
why this was reformatted? Go style is to use tabs
.
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.
i repasted the keeper definitions to make sure no small changes were missed in docs - I indented using tabs for this PR and double checked my editor this morning - it is set to tabs
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.
Why indentation style has changed ? (from tabs to spaces)?
Description
Supply
proto message to point to correct path to interfaceSendCoins
to emit after error checkingSendEnableCoin(s)
->IsSendEnabledCoin(s)
ref: #9218
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes