From 3c443654a910f2e0893b105c73e65412a8f519c7 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:11:06 +0100 Subject: [PATCH 1/2] Update realloc.ts --- tests/realloc/tests/realloc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/realloc/tests/realloc.ts b/tests/realloc/tests/realloc.ts index 34aa2daac2..56f8058a09 100644 --- a/tests/realloc/tests/realloc.ts +++ b/tests/realloc/tests/realloc.ts @@ -58,7 +58,7 @@ describe("realloc", () => { assert.lengthOf(s.data, 5); }); - it("realloc substractive", async () => { + it("realloc subtractive", async () => { await program.methods .realloc(1) .accounts({ authority: authority.publicKey, sample }) From 8bc5c2eeb9d5c569e2658c6a2e53f194be093217 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:12:14 +0100 Subject: [PATCH 2/2] Update amm_v3.json --- tests/declare-program/idls/amm_v3.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/declare-program/idls/amm_v3.json b/tests/declare-program/idls/amm_v3.json index bba310f2a9..efc5a8257c 100644 --- a/tests/declare-program/idls/amm_v3.json +++ b/tests/declare-program/idls/amm_v3.json @@ -3430,12 +3430,12 @@ }, { "code": 6006, - "name": "InvaildTickIndex", + "name": "InvalidTickIndex", "msg": "Tick out of range" }, { "code": 6007, - "name": "TickInvaildOrder", + "name": "TickInvalidOrder", "msg": "The lower tick must be below the upper tick" }, { @@ -3456,12 +3456,12 @@ { "code": 6011, "name": "InvalidTickArray", - "msg": "Invaild tick array account" + "msg": "Invalid tick array account" }, { "code": 6012, "name": "InvalidTickArrayBoundary", - "msg": "Invaild tick array boundary" + "msg": "Invalid tick array boundary" }, { "code": 6013, @@ -3485,8 +3485,8 @@ }, { "code": 6017, - "name": "InvaildLiquidity", - "msg": "Invaild liquidity when update position" + "name": "InvalidLiquidity", + "msg": "Invalid liquidity when update position" }, { "code": 6018, @@ -3541,7 +3541,7 @@ { "code": 6028, "name": "InvalidFirstTickArrayAccount", - "msg": "Invaild first tick array account" + "msg": "Invalid first tick array account" }, { "code": 6029,