Skip to content

mrgn - 0.1.1

Latest
Compare
Choose a tag to compare
@jgur-psyops jgur-psyops released this 07 Feb 14:04
b702db2

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