-
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
Context: Remove Init/New #6797
Context: Remove Init/New #6797
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6797 +/- ##
==========================================
- Coverage 60.80% 60.44% -0.37%
==========================================
Files 510 514 +4
Lines 31523 31635 +112
==========================================
- Hits 19168 19121 -47
- Misses 10883 11048 +165
+ Partials 1472 1466 -6 |
@@ -142,6 +142,8 @@ func interceptConfigs(ctx *Context, rootViper *viper.Viper) (*tmcfg.Config, erro | |||
} | |||
} | |||
|
|||
conf.SetRoot(rootDir) |
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.
/cc @jgimeno - This fixes the issue you were seeing.
@@ -56,126 +51,6 @@ type Context struct { | |||
Codec *codec.Codec | |||
} | |||
|
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.
This makes me so happy ^__^
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.
utACK
* init commit * remove new/init functions * update CLI commands * tests: fix TestCLIQueryConn * remove viper
New*
andInit*
client.Context
functions ❤️ ❤️ ❤️ ❤️ref: #6571
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes