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: more defensive checks; fixes #839 #895

Merged
merged 1 commit into from
Dec 12, 2023
Merged

fix: more defensive checks; fixes #839 #895

merged 1 commit into from
Dec 12, 2023

Conversation

joe-bowman
Copy link
Contributor

1. Summary

Fixes #839

Add defensive checks on amounts.

2.Type of change

  • Bug fix (non-breaking change which fixes an issue)

@joe-bowman joe-bowman requested a review from faddat as a code owner December 12, 2023 11:11
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #895 (0b0ed40) into main (e9a9500) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #895   +/-   ##
=======================================
  Coverage   61.87%   61.87%           
=======================================
  Files         172      172           
  Lines       14079    14079           
=======================================
  Hits         8711     8711           
  Misses       4623     4623           
  Partials      745      745           
Flag Coverage Δ
unittests 61.87% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
x/participationrewards/keeper/rewards_holdings.go 82.35% <100.00%> (ø)

@faddat faddat merged commit 165821b into main Dec 12, 2023
13 checks passed
@joe-bowman joe-bowman deleted the 839-defensive-checks branch December 19, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants