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: Gentx workflow for offline keys #3734

Merged
merged 2 commits into from
Feb 27, 2019
Merged

Conversation

sunnya97
Copy link
Member

@sunnya97 sunnya97 commented Feb 25, 2019

closes #3730

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

@sunnya97 sunnya97 changed the title WIP: Gentx workflow for offline keys R4R: Gentx workflow for offline keys Feb 25, 2019
cmd/gaia/init/gentx.go Outdated Show resolved Hide resolved
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.

Question & needs PENDING.md.

@alexanderbez
Copy link
Contributor

bump @sunnya97

@codecov
Copy link

codecov bot commented Feb 27, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@250dc98). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             develop   #3734   +/-   ##
=========================================
  Coverage           ?   61.2%           
=========================================
  Files              ?     190           
  Lines              ?   14042           
  Branches           ?       0           
=========================================
  Hits               ?    8595           
  Misses             ?    4909           
  Partials           ?     538

return err
}

if info.GetType() == kbkeys.TypeOffline {
Copy link
Contributor

Choose a reason for hiding this comment

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

With #3748, multisig will have their own dedicated Info type (TypeMulti). Will we have to check both here?

Copy link
Member

Choose a reason for hiding this comment

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

Should we wait to merge this then? Or rebase it on your branch?

Copy link
Contributor

Choose a reason for hiding this comment

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

I say we merge this and then I can rebase/update.

}

if info.GetType() == kbkeys.TypeOffline {
fmt.Println("Offline key passed in. Use `gaiacli tx sign` command to sign:")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
fmt.Println("Offline key passed in. Use `gaiacli tx sign` command to sign:")
fmt.Println("Offline key passed in. Use `gaiacli tx sign` command to sign:")

@jackzampolin jackzampolin merged commit e78a6da into develop Feb 27, 2019
@jackzampolin jackzampolin deleted the sunny/offline-gentx branch February 27, 2019 18:31
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.

Gaiad gentx command incorrect for offline/multisig keys
4 participants