Releases: mrgnlabs/marginfi-v2
Releases · mrgnlabs/marginfi-v2
mrgn - 0.1.1
Same as 0.1.0, but includes the bugfix from 0.1.0-alpha. Begins version numbering, hurray!
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
Hash: 03455c
Deployed staging: Feb 7, 2025 ~8:15am ET
Deployed mainnet: TBD
0.1.0-alpha bugfix Feb 3 2025
Fixes a minor bug in pricing of staked collateral assets that was allowing the irrecoverable 1 SOL spent to open the pool to be counted as potential collateral.
hash: ea5d15
Staging deploy time: never
Mainnet deploy time: Feb 3, 2025 @ ~2:30 ET
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
marginfi-program-v1.0.0
Support for Switchboard Pull oracle feeds