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

Add custom query handling for unbonding balances #2031

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Jan 10, 2025

Describe your changes and provide context

GetUnbondingDelegations is not part of the standard staking wasmbinding so to support it we either need to fork many additional repos or add it as a custom query. The former seems riskier in terms of blast radius so we are adding it as a custom query here.

Testing performed to validate your change

integration test with gringotts contract

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.47%. Comparing base (223a234) to head (257976c).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2031   +/-   ##
=======================================
  Coverage   61.47%   61.47%           
=======================================
  Files         264      264           
  Lines       24565    24566    +1     
=======================================
+ Hits        15101    15102    +1     
  Misses       8335     8335           
  Partials     1129     1129           
Files with missing lines Coverage Δ
app/app.go 66.35% <100.00%> (+0.02%) ⬆️

@codchen codchen merged commit 41433a8 into main Jan 16, 2025
50 checks passed
@codchen codchen deleted the unbonding-custom-query branch January 16, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants