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

go/oasis-node/cmd/common: ExportEntity should use the entity ctor #3117

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

Yawning
Copy link
Contributor

@Yawning Yawning commented Jul 20, 2020

Instead of using an entity populated with the zero values and a manually
filled in public key, use the entity constructor that can fill in
sensible values for things like the version.

Rescued from #3094

@Yawning Yawning added c:bug Category: bug c:cli Category: command line interface labels Jul 20, 2020
@Yawning Yawning force-pushed the yawning/fix/trivial branch from b3a41e3 to 4325e98 Compare July 20, 2020 10:33
@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@224d9cf). Click here to learn what that means.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3117   +/-   ##
=========================================
  Coverage          ?   68.54%           
=========================================
  Files             ?      374           
  Lines             ?    36895           
  Branches          ?        0           
=========================================
  Hits              ?    25291           
  Misses            ?     8357           
  Partials          ?     3247           
Impacted Files Coverage Δ
go/oasis-node/cmd/common/common.go 57.98% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 224d9cf...4cea752. Read the comment docs.

@Yawning Yawning force-pushed the yawning/fix/trivial branch 2 times, most recently from 07381e3 to 6538cbd Compare July 20, 2020 12:37
Instead of using an entity populated with the zero values and a manually
filled in public key, use the entity constructor that can fill in
sensible values for things like the version.
@Yawning Yawning force-pushed the yawning/fix/trivial branch from 6538cbd to 4cea752 Compare July 20, 2020 12:55
@Yawning Yawning merged commit b176b1f into master Jul 20, 2020
@Yawning Yawning deleted the yawning/fix/trivial branch July 20, 2020 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug c:cli Category: command line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants