diff --git a/CHANGELOG.md b/CHANGELOG.md index ec670cb60..7eafb1215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ Update this for each program release and mainnet deployment. ## not on mainnet +### v0.11.0, 2023-4- + +Deployment: + +- Limit funding and interest accrual during downtimes (#529) + + Previously, if the funding or interest updating instruction wassn't + called for a long time (like for a solana downtime or the security + council halting the program), the next update would apply funding or + interest for the whole time interval since the last update. + + This could lead to a bad downtime situation becoming worse. Instead, + limit the maximum funding and interest time interval to one hour. + +- Update default interest parameters in token_register_trustless (#523) + + This brings them in line with the recent interest rate changes for >50% + utilization. + +- Perp: Fix logging of funding rate in update funding and deactivate pos (#528) + ### v0.10.0, 2023-4- Deployment: diff --git a/Cargo.lock b/Cargo.lock index 6782c6272..f7cf9c743 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3005,7 +3005,7 @@ dependencies = [ [[package]] name = "mango-v4" -version = "0.10.0" +version = "0.11.0" dependencies = [ "anchor-lang", "anchor-spl", diff --git a/mango_v4.json b/mango_v4.json index 3286d1318..c44c6fd27 100644 --- a/mango_v4.json +++ b/mango_v4.json @@ -1,5 +1,5 @@ { - "version": "0.10.0", + "version": "0.11.0", "name": "mango_v4", "instructions": [ { diff --git a/programs/mango-v4/Cargo.toml b/programs/mango-v4/Cargo.toml index e67941974..d8b2d5d1a 100644 --- a/programs/mango-v4/Cargo.toml +++ b/programs/mango-v4/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mango-v4" -version = "0.10.0" +version = "0.11.0" description = "Created with Anchor" edition = "2021" diff --git a/ts/client/src/mango_v4.ts b/ts/client/src/mango_v4.ts index 998688a48..47e161657 100644 --- a/ts/client/src/mango_v4.ts +++ b/ts/client/src/mango_v4.ts @@ -1,5 +1,5 @@ export type MangoV4 = { - "version": "0.10.0", + "version": "0.11.0", "name": "mango_v4", "instructions": [ { @@ -8684,7 +8684,7 @@ export type MangoV4 = { }; export const IDL: MangoV4 = { - "version": "0.10.0", + "version": "0.11.0", "name": "mango_v4", "instructions": [ {