Skip to content

R4R: Fix Quoted JSON Return #3045

Merged
jackzampolin merged 3 commits intodevelopfrom
jack/fix-empty-return
Dec 11, 2018
Merged

R4R: Fix Quoted JSON Return #3045
jackzampolin merged 3 commits intodevelopfrom
jack/fix-empty-return

Conversation

@jackzampolin
Copy link
Copy Markdown
Contributor

@codecov
Copy link
Copy Markdown

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
Copy Markdown
Contributor

faboweb commented Dec 10, 2018

Nice! Could you add a test for this response?

@jackzampolin
Copy link
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
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