-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3045 +/- ##
========================================
Coverage 52.17% 52.17%
========================================
Files 136 136
Lines 9626 9626
========================================
Hits 5022 5022
Misses 4267 4267
Partials 337 337 |
Nice! Could you add a test for this response? |
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 |
Couldn't you just delete the one (main) key? A new key should be generated for the next test I assume? |
@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. |
There was a problem hiding this 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 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Fixes: #2470
cc @faboweb @fedekunze @sabau