Skip to content

Conversation

@liobrasil
Copy link
Contributor

@liobrasil liobrasil commented Jan 21, 2026

Adds close-time coverage/telemetry to Scenario 2:

  • Asserts YieldToken.totalSupply does not decrease across closeYieldVault (proxy for no non-zero YieldToken burned during AutoBalancer cleanup).
  • Logs per-token post-close relative diff as 100 * (pre - post) / pre using the pre-close FCM position balances as the baseline.

Run: flow test cadence/tests/rebalance_scenario2_test.cdc

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