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

fix: use getter to read first config validator #3969

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

jeronimoalbi
Copy link
Member

@jeronimoalbi jeronimoalbi commented Feb 14, 2024

Getter checks that there is at least a validator configured or otherwise returns a proper error.

Fixes #3968

Getter checks that there is at least a validator configured and
otherwise returns a proper error
@jeronimoalbi jeronimoalbi self-assigned this Feb 14, 2024
@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs component:cmd type:services Service-related issues. labels Feb 14, 2024
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (f86fa97) 24.79% compared to head (1ab1abe) 24.79%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3969   +/-   ##
=======================================
  Coverage   24.79%   24.79%           
=======================================
  Files         296      296           
  Lines       24907    24913    +6     
=======================================
+ Hits         6176     6178    +2     
- Misses      18164    18169    +5     
+ Partials      567      566    -1     
Files Coverage Δ
ignite/cmd/chain_debug.go 0.00% <0.00%> (ø)
ignite/services/chain/chain.go 5.94% <0.00%> (-0.07%) ⬇️

... and 1 file with indirect coverage changes

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@julienrbrt julienrbrt added the skip-changelog Don't check changelog for new entries label Feb 14, 2024
@jeronimoalbi jeronimoalbi merged commit 55ad250 into main Feb 15, 2024
46 checks passed
@jeronimoalbi jeronimoalbi deleted the fix/issue-running-app-insude-go-module branch February 15, 2024 09:17
@julienrbrt
Copy link
Member

@Mergifyio backport release/v28.x.y

Copy link
Contributor

mergify bot commented Apr 4, 2024

backport release/v28.x.y

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 4, 2024
* fix: use getter to read first config validator

Getter checks that there is at least a validator configured and
otherwise returns a proper error

* chore: update changelog

(cherry picked from commit 55ad250)
julienrbrt added a commit that referenced this pull request Apr 4, 2024
* fix: use getter to read first config validator (#3969)

* fix: use getter to read first config validator

Getter checks that there is at least a validator configured and
otherwise returns a proper error

* chore: update changelog

(cherry picked from commit 55ad250)

* updates

---------

Co-authored-by: Jerónimo Albi <jeronimo.albi@tendermint.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
julienrbrt pushed a commit that referenced this pull request May 29, 2024
* fix: use getter to read first config validator

Getter checks that there is at least a validator configured and
otherwise returns a proper error

* chore: update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ci CI/CD workflow and automated jobs. component:cmd component:configs skip-changelog Don't check changelog for new entries type:services Service-related issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ignite apps can panic on chain get when running inside a Go module
2 participants