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

Basecoin fix #1919

Closed
wants to merge 3 commits into from
Closed

Basecoin fix #1919

wants to merge 3 commits into from

Conversation

gblue1223
Copy link

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

https://forum.cosmos.network/t/unmarshalbinarybare-expected-to-read-prefix-bytes-75fbfab8-since-it-is-registered-concrete-but-got-0a141dfa/664/6

  • Updated all relevant documentation (docs/)
  • Updated all relevant code comments
  • Wrote tests
  • Added entries in PENDING.md that include links to the relevant issue or PR that most accurately describes the change.
  • Updated cmd/gaia and examples/

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)

@codecov
Copy link

codecov bot commented Aug 3, 2018

Codecov Report

Merging #1919 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1919   +/-   ##
=======================================
  Coverage   60.63%   60.63%           
=======================================
  Files         119      119           
  Lines        6917     6917           
=======================================
  Hits         4194     4194           
  Misses       2484     2484           
  Partials      239      239

@@ -102,6 +104,7 @@ func MakeCodec() *wire.Codec {
// register custom types
cdc.RegisterInterface((*auth.Account)(nil), nil)
cdc.RegisterConcrete(&types.AppAccount{}, "basecoin/Account", nil)
cdc.RegisterConcrete(auth.StdTx{}, "auth/StdTx", nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you do:

auth.RegisterWire(cdc *wire.Codec)

Other than that, looks good to me!

Copy link
Author

Choose a reason for hiding this comment

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

I've updated the resister code as you mentioned. :)

@jackzampolin
Copy link
Member

Thanks for the PR @gblue1223! We will get it reviewed soon.

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.

utACK, thanks for the fix!

@cwgoes cwgoes changed the base branch from master to develop August 8, 2018 10:42
@cwgoes cwgoes changed the base branch from develop to master August 8, 2018 10:42
cwgoes added a commit that referenced this pull request Aug 8, 2018
@cwgoes
Copy link
Contributor

cwgoes commented Aug 8, 2018

Ah, unfortunately you based this on master - in the future please base on develop as we don't merge directly to master - I can't edit your remote, so moved the changes to a separate PR: #1940.

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.

4 participants