0.1.0 Jan-Feb 2025
Fixes some minor bugs in staked collateral features and some issues when configuring oracle settings with squads.
Verifiable hash: a4dd3e7
BREAKING
- Some Liquidation instruction arguments renamed. Rust consumers that are simply passing meta should not have issues.
- Liquidation of staked collateral positions requires passing remaining accounts differently than most banks, with two additional oracle accounts required. See the s07_liquidate test for an example.
- Add bank, add bank with seed, and configure bank no longer configure oracle settings, fixing an issue with these instructions in Squads. Use configure_bank_oracle. If not using squads, you can pack this into the same tx. Note:
- Bank Config no longer has oracle setup
- OracleSetup::None is now a possible variant to encounter (previously was an impossible state). This state should be transient, but all consumers should handle it without error