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

split commitment Function #235

Merged
merged 6 commits into from
Apr 4, 2024
Merged

split commitment Function #235

merged 6 commits into from
Apr 4, 2024

Conversation

SwatiEY
Copy link
Contributor

@SwatiEY SwatiEY commented Mar 26, 2024

This PR adds the code for split commitment function, currently when we have a partitioned state, we require two commitment in, to decrement that state. With this code, if you have a commitment with sufficient balance, it splits that commitment into two, so the user is not forced to add a new commitment to use his balance.

@SwatiEY SwatiEY self-assigned this Mar 26, 2024
@SwatiEY SwatiEY requested review from lydiagarms and kKahina March 26, 2024 11:09
@SwatiEY SwatiEY merged commit 2f1944f into master Apr 4, 2024
2 checks passed
Copy link

🎉 This PR is included in version 1.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants