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

R4R: Add Vesting Account Genesis Validation #3425

Merged
merged 7 commits into from
Jan 29, 2019

Conversation

alexanderbez
Copy link
Contributor

@alexanderbez alexanderbez commented Jan 29, 2019

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 explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

addrStr := acc.Address.String()

// disallow any duplicate accounts
if _, ok := addrMap[addrStr]; ok {
Copy link
Member

Choose a reason for hiding this comment

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

++

Copy link
Member

@jackzampolin jackzampolin left a 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
Copy link

codecov bot commented Jan 29, 2019

Codecov Report

Merging #3425 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             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

Copy link
Contributor

@cwgoes cwgoes left a 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.

docs/gaia/genesis.md Outdated Show resolved Hide resolved
docs/gaia/genesis.md Outdated Show resolved Hide resolved
cmd/gaia/app/genesis.go Outdated Show resolved Hide resolved
@alexanderbez
Copy link
Contributor Author

Address @cwgoes -- thanks.

@cwgoes cwgoes merged commit 1a656e7 into develop Jan 29, 2019
@cwgoes cwgoes deleted the bez/3418-vesting-acc-gen-validation branch January 29, 2019 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:genesis relating to chain genesis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Genesis Validation: Vesting
3 participants