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

use correct height for unbonding model #192

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

jeremy-babylonlabs
Copy link
Contributor

@jeremy-babylonlabs jeremy-babylonlabs commented Oct 2, 2024

This PR is a hotfix for the unbonding modal. It now displays the correct info according to the delegation height.

Screenshot 2024-10-03 at 12 29 47 AM

@jeremy-babylonlabs jeremy-babylonlabs force-pushed the fix-incorrect-fee-sat-display branch from 8271759 to d748ab1 Compare October 3, 2024 06:49
@totraev
Copy link
Contributor

totraev commented Oct 3, 2024

@jeremy-babylonlabs you can merge. I'll resolve conflicts on my end

@jeremy-babylonlabs jeremy-babylonlabs force-pushed the fix-incorrect-fee-sat-display branch from d748ab1 to f03625e Compare October 3, 2024 10:28
@jeremy-babylonlabs
Copy link
Contributor Author

ok resolved

@jeremy-babylonlabs jeremy-babylonlabs merged commit b9f0ae1 into main Oct 3, 2024
1 check passed
@jeremy-babylonlabs jeremy-babylonlabs deleted the fix-incorrect-fee-sat-display branch October 3, 2024 10:28
<UnbondWithdrawModal
unbondingTimeBlocks={globalParamsVersion.unbondingTime}
unbondingFeeSat={globalParamsVersion.unbondingFeeSat}
delegationHeight={selectedDelegationHeight}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@jeremy-babylonlabs you don't need selectedDelegationHeight state.
You can reuse what's been done for the handleUnbond(txID) where it use the ID to locate the delegation from delegationsAPI

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