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

Parse memo before looking up hash #501

Merged
merged 3 commits into from
Jul 13, 2023
Merged

Conversation

joe-bowman
Copy link
Contributor

1. Summary

Fixes issue with completed unbondings where memo is not parseable after change in format.

2.Type of change

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

3. Implementation details

ParseMemo field to correctly remove unbond/ prefix.

Copy link
Contributor Author

@joe-bowman joe-bowman left a comment

Choose a reason for hiding this comment

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

I can't approve this, because I opened, but your changes lgtm :)

Copy link
Contributor

@ajansari95 ajansari95 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2023

Codecov Report

Merging #501 (f0b940e) into develop (ac7f003) will decrease coverage by 0.02%.
The diff coverage is 40.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #501      +/-   ##
===========================================
- Coverage    56.29%   56.27%   -0.02%     
===========================================
  Files          169      169              
  Lines        13162    13164       +2     
===========================================
- Hits          7409     7408       -1     
- Misses        5168     5170       +2     
- Partials       585      586       +1     
Flag Coverage Δ
unittests 56.27% <40.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
x/interchainstaking/keeper/ibc_packet_handlers.go 40.39% <40.00%> (-0.19%) ⬇️

@ajansari95 ajansari95 merged commit a3fea64 into develop Jul 13, 2023
@ajansari95 ajansari95 deleted the parse-unbond-send-memo branch July 13, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants