Closed kerber0x closed 5 months ago
This is turning to be an overhaul of the bonding manager, not just removing a single msg 😅
Schema generation had missing jobs:
contracts/liquidity_hub/bonding-manager/schema/bonding-manager.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_claimable.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_global_index.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_unbonding.json
Please run just schemas
locally and upload the generated schemas.
Schema generation had missing jobs:
contracts/liquidity_hub/bonding-manager/schema/bonding-manager.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_claimable.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_global_index.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_unbonding.json
Please run just schemas
locally and upload the generated schemas.
Attention: Patch coverage is 97.92576%
with 57 lines
in your changes are missing coverage. Please review.
Project coverage is 91.15%. Comparing base (
0f77427
) to head (1ac4516
). Report is 4 commits behind head on release/v2_contracts.:exclamation: Current head 1ac4516 differs from pull request most recent head 61ed894
Please upload reports for the commit 61ed894 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Schema generation had missing jobs:
contracts/liquidity_hub/bonding-manager/schema/bonding-manager.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_bonded.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_claimable.json
contracts/liquidity_hub/bonding-manager/schema/raw/response_to_unbonding.json
Please run just schemas
locally and upload the generated schemas.
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:
Update index.md
)cargo fmt --all --
.cargo clippy -- -D warnings
.cargo schema
.