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: Fix Quoted JSON Return #3045

Merged
merged 3 commits into from
Dec 11, 2018
Merged

R4R: Fix Quoted JSON Return #3045

merged 3 commits into from
Dec 11, 2018

Conversation

jackzampolin
Copy link
Member

@codecov
Copy link

codecov bot commented Dec 8, 2018

Codecov Report

Merging #3045 into develop will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           develop    #3045   +/-   ##
========================================
  Coverage    52.17%   52.17%           
========================================
  Files          136      136           
  Lines         9626     9626           
========================================
  Hits          5022     5022           
  Misses        4267     4267           
  Partials       337      337

@jackzampolin jackzampolin changed the title WIP: Fix Quoted JSON Return R4R: Fix Quoted JSON Return Dec 8, 2018
@faboweb
Copy link
Contributor

faboweb commented Dec 10, 2018

Nice! Could you add a test for this response?

@jackzampolin
Copy link
Member Author

This is actually a bit difficult to test for right now because in our LCD tests we create an address to initialize the chain and don't have a running LCD with empty keys at any time:

	name, password := "test", "1234567890"
	addr, seed := CreateAddr(t, "test", password, GetKeyBase(t))
	cleanup, _, _, port := InitializeTestLCD(t, 1, []sdk.AccAddress{addr})
	defer cleanup()

Is it OK if I don't @faboweb

@faboweb
Copy link
Contributor

faboweb commented Dec 10, 2018

Couldn't you just delete the one (main) key? A new key should be generated for the next test I assume?

@jackzampolin
Copy link
Member Author

@faboweb that key runs the validator which is running the chain. I can dive deep here, but will take longer to fix. Or @fedekunze might be able to help me add this easily.

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.

I think this is fine for now, but please fix merge conflicts 👍

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.

ACK

@jackzampolin jackzampolin merged commit 38c11cf into develop Dec 11, 2018
@jackzampolin jackzampolin deleted the jack/fix-empty-return branch December 11, 2018 16:54
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