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: update param validation to fail on nil dec #1323

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

jaeseung-bae
Copy link
Contributor

@jaeseung-bae jaeseung-bae commented Mar 27, 2024

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@jaeseung-bae jaeseung-bae self-assigned this Mar 27, 2024
@jaeseung-bae jaeseung-bae marked this pull request as ready for review March 27, 2024 13:48
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 70.38%. Comparing base (c051dcc) to head (1dba6ec).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1323      +/-   ##
==========================================
- Coverage   70.39%   70.38%   -0.02%     
==========================================
  Files         643      643              
  Lines       54779    54793      +14     
==========================================
+ Hits        38563    38564       +1     
- Misses      14041    14054      +13     
  Partials     2175     2175              
Files Coverage Δ
x/slashing/types/params.go 0.00% <0.00%> (ø)
x/mint/types/params.go 7.40% <0.00%> (-0.60%) ⬇️

... and 1 file with indirect coverage changes

0Tech
0Tech previously approved these changes Mar 28, 2024
@jaeseung-bae jaeseung-bae requested a review from 170210 March 28, 2024 01:34
@170210
Copy link
Contributor

170210 commented Mar 28, 2024

Is it necessary to add the same contents under x/distribution? There are three similar bugs under x/distribution.

@jaeseung-bae
Copy link
Contributor Author

Is it necessary to add the same contents under x/distribution? There are three similar bugs under x/distribution.

I can't find any in x/distribution, could you share the points?

@170210
Copy link
Contributor

170210 commented Mar 28, 2024

I can't find any in x/distribution, could you share the points?

Sorry, I made a mistake. There's no problem under x/distribution...

@jaeseung-bae jaeseung-bae merged commit 55b6566 into Finschia:main Mar 28, 2024
37 of 38 checks passed
@jaeseung-bae jaeseung-bae deleted the fix/nil-check branch March 28, 2024 04:35
mergify bot pushed a commit that referenced this pull request Mar 28, 2024
* fix: update param validation to fail on nil dec

* chore: update changelog

(cherry picked from commit 55b6566)

# Conflicts:
#	CHANGELOG.md
0Tech added a commit that referenced this pull request Mar 29, 2024
* fix: update param validation to fail on nil dec (#1323)

* fix: update param validation to fail on nil dec

* chore: update changelog

(cherry picked from commit 55b6566)

# Conflicts:
#	CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: jaeseung-bae <[email protected]>
Co-authored-by: Youngtaek Yoon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants