Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #3527

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tests/declare-program/idls/amm_v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand All @@ -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,
Expand All @@ -3485,8 +3485,8 @@
},
{
"code": 6017,
"name": "InvaildLiquidity",
"msg": "Invaild liquidity when update position"
"name": "InvalidLiquidity",
"msg": "Invalid liquidity when update position"
},
{
"code": 6018,
Expand Down Expand Up @@ -3541,7 +3541,7 @@
{
"code": 6028,
"name": "InvalidFirstTickArrayAccount",
"msg": "Invaild first tick array account"
"msg": "Invalid first tick array account"
},
{
"code": 6029,
Expand Down
2 changes: 1 addition & 1 deletion tests/realloc/tests/realloc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down