-
Notifications
You must be signed in to change notification settings - Fork 39
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
Remove "send enabled" on marker removal and in bulk on 1.10.0 upgrade #821
Remove "send enabled" on marker removal and in bulk on 1.10.0 upgrade #821
Conversation
Codecov Report
@@ Coverage Diff @@
## main #821 +/- ##
==========================================
+ Coverage 56.14% 56.19% +0.04%
==========================================
Files 179 179
Lines 21816 21850 +34
==========================================
+ Hits 12248 12278 +30
- Misses 8648 8652 +4
Partials 920 920
|
It looks like linting is failing. Think you just have to run make lint Here is the full documentation on it... Please make sure to run make format before every commit - the easiest way to do this is have your editor run it for you upon saving a file. Additionally please ensure that your code is lint compliant by running make lint. A convenience git pre-commit hook that runs the formatters automatically before each commit is available in the contrib/githooks/ directory. |
Is it possible to have a test for this? Or is that not needed? |
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
This could stand to have a simple test added for the removeSendEnabled flow... |
Agree with @iramiller could add the keeper test. I don't think we have a test flow for the upgrade handlers. |
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.
Thanks for the test. LGTM.
Test should have a denom that is valid (hash?) which is not removed ... that would show both code paths ... otherwise looks good. |
… of https://github.com/provenance-io/provenance into dadams/819-remove-send-enabled-status-on-marker-delete
Description
Remove the "send enabled" bank denom metadata in cases where a marker is deleted. Also add an upgrade handler (
lava
) that iterates through the "send enabled" metadata and removes it for any that is not associated with a marker.closes: #819
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes