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: Reintroduce collect-gentxs's --gentx-dir flag #3021

Merged

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Dec 6, 2018

It was lost in the last genesis workflow refactoring.

Also address structs initializations as per #2835.

  • 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)

@alessio alessio added wip C:genesis relating to chain genesis labels Dec 6, 2018
@codecov
Copy link

codecov bot commented Dec 6, 2018

Codecov Report

Merging #3021 into develop will decrease coverage by 0.02%.
The diff coverage is 25.8%.

@@             Coverage Diff             @@
##           develop    #3021      +/-   ##
===========================================
- Coverage    52.17%   52.15%   -0.03%     
===========================================
  Files          136      136              
  Lines         9619     9626       +7     
===========================================
+ Hits          5019     5020       +1     
- Misses        4263     4269       +6     
  Partials       337      337

@alessio alessio force-pushed the alessio/collect-stdxs-reintroduce-gentx-dir-flag branch from 151cb96 to c05d6c2 Compare December 7, 2018 13:42
@alessio alessio changed the title WIP: Reintroduce collect-gentxs's --gentx-dir flag R4R: Reintroduce collect-gentxs's --gentx-dir flag Dec 7, 2018
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Changes LGTM, but it should have a test case 👍

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.

Agree with @alexanderbez here, testcase 🙏

Alessio Treglia added 2 commits December 11, 2018 12:32
It went lost in last genesis workflow refactoring.

Also address structs initializations as per #2835.
@alessio alessio force-pushed the alessio/collect-stdxs-reintroduce-gentx-dir-flag branch from f8f91d5 to 46bb2d0 Compare December 11, 2018 12:32
@alessio
Copy link
Contributor Author

alessio commented Dec 11, 2018

Test case added @jackzampolin @alexanderbez

@@ -29,8 +29,6 @@ const (
FlagGenesisFormat = "genesis-format"
FlagNodeID = "node-id"
FlagIP = "ip"

FlagOutputDocument = "output-document" // inspired by wget -O
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved it to client/flags.go as it is unused in stake.

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

LGTM ☕️

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.

Nice!

@jackzampolin jackzampolin merged commit b9477df into develop Dec 11, 2018
@cwgoes cwgoes deleted the alessio/collect-stdxs-reintroduce-gentx-dir-flag branch December 11, 2018 16:32
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.

3 participants