-
Notifications
You must be signed in to change notification settings - Fork 561
sdk v0.45.8, tendermint v0.34.21, iavl v0.19.1 & store options #1301
Conversation
@@ -292,7 +292,10 @@ func (c TLSConfig) Validate() error { | |||
|
|||
// GetConfig returns a fully parsed Config object. | |||
func GetConfig(v *viper.Viper) Config { | |||
cfg := config.GetConfig(v) | |||
cfg, err := config.GetConfig(v) |
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.
Please review the error check here. There could be a better way to do this like either making the whole function return an error, or just using a blank in place of err.
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.
Changed this to return the error instead
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release/v0.19.x #1301 +/- ##
===================================================
- Coverage 51.20% 51.16% -0.05%
===================================================
Files 103 103
Lines 9352 9358 +6
===================================================
- Hits 4789 4788 -1
- Misses 4304 4310 +6
- Partials 259 260 +1
|
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.
LGTM
@@ -292,7 +292,10 @@ func (c TLSConfig) Validate() error { | |||
|
|||
// GetConfig returns a fully parsed Config object. | |||
func GetConfig(v *viper.Viper) Config { | |||
cfg := config.GetConfig(v) | |||
cfg, err := config.GetConfig(v) |
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.
Changed this to return the error instead
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.
LGTM
@faddat can you add a changelog?
|
@danburck I think it is because I am making pr's from an external repo |
…#1301) * sdk v0.45.8, tendermint v0.34.21, iavl v0.19.1 & store options * update gomod2nix * return error instead of panic * add Changelog Co-authored-by: Freddy Caceres <[email protected]>
Description
Evmos v8.0.x is slated to use sdk v0.45.7 and ibc-go v3.2.0 and both of these enable the iavl fast cache features.
Currently ethermint did not have these and this was causing:
evmos/evmos#868
This patch bumps ethermint's release/v0.19.x branch to:
Mixing fast-cache enabled libraries and non-fast-cache enabled libraries seems not to go well.
Suggested way forward
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)