-
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
R4R: Add Vesting Account Genesis Validation #3425
Conversation
addrStr := acc.Address.String() | ||
|
||
// disallow any duplicate accounts | ||
if _, ok := addrMap[addrStr]; ok { |
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.
++
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.
Great add @alexanderbez LGTM once tests are passing
Codecov Report
@@ Coverage Diff @@
## develop #3425 +/- ##
===========================================
+ Coverage 59.23% 59.25% +0.01%
===========================================
Files 134 134
Lines 9940 9949 +9
===========================================
+ Hits 5888 5895 +7
- Misses 3678 3681 +3
+ Partials 374 373 -1 |
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.
Should probably be >=
, and one point of clarification in docs.
Co-Authored-By: alexanderbez <[email protected]>
Co-Authored-By: alexanderbez <[email protected]>
…ion' into bez/3418-vesting-acc-gen-validation
Address @cwgoes -- thanks. |
closes: #3418
partially addresses: #3406
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: