white-whale-core icon indicating copy to clipboard operation
white-whale-core copied to clipboard

refactor: bonding manager

Open kerber0x opened this issue 2 months ago • 5 comments

Description and Motivation

This PR refactors the bonding manager, fixing a couple of issues with the bonding and claiming mechanisms. It also refactors the state, using an IndexedMap to hold both bonds and unbonds operations by a user.

Related Issues


Checklist:

  • [x] I have read Migaloo's contribution guidelines.
  • [x] My pull request has a sound title and description (not something vague like Update index.md)
  • [x] All existing and new tests are passing.
  • [x] I updated/added relevant documentation.
  • [x] The code is formatted properly cargo fmt --all --.
  • [x] Clippy doesn't report any issues cargo clippy -- -D warnings.
  • [x] I have regenerated the schemas if needed cargo schema.

kerber0x avatar May 06 '24 16:05 kerber0x