-
Notifications
You must be signed in to change notification settings - Fork 1k
Skip conversions with no rewards #4883
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
Conversation
🧪 CI InsightsHere's what we observed from your CI run for bc4f7f8. 🟢 All jobs passed!But CI Insights is watching 👀 |
Putting this back to draft as it needs some more work |
d2b87fb
to
2813392
Compare
@sug0 I've fixed a bug and improved the tests, this is now ready for review |
output: &mut I128Sum, | ||
) -> Result<(), eyre::Error> { | ||
// We do not need to convert negative values | ||
// We do not need to convert non-positive values |
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.
why lol
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Skip conversions with no rewards (backport #4883)
…pr-4883 Skip conversions with no rewards (backport #4883)
Describe your changes
Closes #4789.
Modifies
apply_conversion
to skip conversions that don't carry any rewards (i.e. conversions that only update the epoch of the asset).Checklist before merging
breaking::
labelsnamada-docs
reponamada-indexer
ornamada-masp-indexer
, a corresponding PR is opened in that repo