-
Notifications
You must be signed in to change notification settings - Fork 61
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
refactor: memo parsing logic in ibc_packet_handlers.go
#321
Conversation
Codecov Report
@@ Coverage Diff @@
## main #321 +/- ##
==========================================
+ Coverage 56.22% 56.31% +0.08%
==========================================
Files 153 154 +1
Lines 12057 12051 -6
==========================================
+ Hits 6779 6786 +7
+ Misses 4805 4795 -10
+ Partials 473 470 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Looks good overall, but as discussed there seems to be no difference between the fuzz test and the unit test here in terms of coverage. As fuzz tests are not currently run on every push, and the unit test is not resource intensive, should be just keep that?
i think we can add a fuzz test target in make file and not include in coverage? |
@ajansari95 @joe-bowman makes most sense to remove the fuzz test in this case because as @joe-bowman mentioned, its not giving us much more than the unit test which we are running all of the time. |
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
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
1. Summary
refactor duplicated logic in
x/interchainstaking/keeper/ibc_packet_handlers.go
into atypes
package.2.Type of change
Please delete options that are not relevant.
3. Implementation details
types
package4. How to test/use
To run the fuzz test:
5. Checklist
6. Limitations (optional)
7. Future Work (optional)