Skip to content

Commit dad9c31

Browse files
authored
Add LiteSVM tests for the Realloc anchor program (#480)
* feat: add LiteSVM integration and enhance anchor realloc tests * Update anchor-realloc test descriptions for clarity * Remove unnecessary console logs from anchor-realloc tests * Introduce new LiteSVM test for realloc functionality, validating initialization and updates of message accounts * chore: update dependencies and TypeScript module resolution * Upgrade @solana/web3.js to version 1.98.4 * Add litesvm dependency at version 0.4.0 * Change TypeScript module resolution from commonjs to nodenext in tsconfig.json * Update pnpm-lock.yaml to reflect new dependency versions and resolutions * chore: remove deprecated bankrun and related stuff * chore: rename the filename for consistency
1 parent ce3b1cf commit dad9c31

File tree

7 files changed

+350
-281
lines changed

7 files changed

+350
-281
lines changed

basics/realloc/anchor/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@
66
},
77
"dependencies": {
88
"@coral-xyz/anchor": "0.32.1",
9-
"@solana/web3.js": "^1.95.2"
9+
"@solana/web3.js": "^1.98.4",
10+
"litesvm": "^0.4.0"
1011
},
1112
"devDependencies": {
1213
"@types/bn.js": "^5.1.0",
1314
"@types/chai": "^4.3.0",
1415
"@types/mocha": "^9.0.0",
15-
"anchor-bankrun": "^0.4.0",
1616
"chai": "^4.4.1",
1717
"mocha": "^9.0.3",
1818
"prettier": "^2.6.2",
19-
"solana-bankrun": "^0.3.0",
2019
"ts-mocha": "^10.0.0",
2120
"typescript": "^4.3.5"
2221
}

0 commit comments

Comments
 (0)