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

Support partial unlock #160

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Support partial unlock #160

merged 2 commits into from
Sep 23, 2024

Conversation

Tbaut
Copy link
Contributor

@Tbaut Tbaut commented Sep 23, 2024

closes a case where:

  • you delegate e.g 10 DOT for 2x conviction
  • you undelegate
  • you delegate 6 DOT for 2x conviction

--> you should be able to unlock 4 DOT after the 2x period is elapsed, and Delegit should show you the locks and allow to unlock.

Fix an unrelated bug where the onInBlock was called even when not in block.
Fix not waiting for finalizatioin for the multi-tx re-delegation process.

@Tbaut Tbaut requested a review from wirednkod as a code owner September 23, 2024 17:53
@Tbaut Tbaut requested review from goldsteinsveta and removed request for wirednkod September 23, 2024 17:53
Copy link

Deploying delegit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 868c627
Status: ✅  Deploy successful!
Preview URL: https://90b17696.delegit.pages.dev
Branch Preview URL: https://tbaut-partial-unlock.delegit.pages.dev

View logs

@Tbaut Tbaut requested a review from wirednkod September 23, 2024 17:53
@Tbaut Tbaut merged commit 795576c into main Sep 23, 2024
3 checks passed
@Tbaut Tbaut deleted the tbaut-partial-unlock branch September 23, 2024 21:16
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.

2 participants