Skip to content

Commit 8dd4878

Browse files
committed
update anchor version in group 0
1 parent d2251c5 commit 8dd4878

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

basics/close-account/anchor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
55
},
66
"dependencies": {
7-
"@coral-xyz/anchor": "^0.30.0",
7+
"@coral-xyz/anchor": "0.31.1",
88
"@solana/web3.js": "^1.95.2"
99
},
1010
"devDependencies": {
11-
"anchor-bankrun": "^0.4.0",
12-
"solana-bankrun": "^0.3.0",
1311
"@types/bn.js": "^5.1.0",
1412
"@types/chai": "^4.3.0",
1513
"@types/mocha": "^9.0.0",
14+
"anchor-bankrun": "^0.4.0",
1615
"chai": "^4.3.4",
1716
"mocha": "^9.0.3",
17+
"solana-bankrun": "^0.3.0",
1818
"ts-mocha": "^10.0.0",
1919
"typescript": "^4.3.5"
2020
},

basics/counter/anchor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
55
},
66
"dependencies": {
7-
"@coral-xyz/anchor": "^0.30.0",
7+
"@coral-xyz/anchor": "0.31.1",
88
"@solana/web3.js": "^1.95.2"
99
},
1010
"devDependencies": {
11-
"anchor-bankrun": "^0.4.0",
12-
"solana-bankrun": "^0.3.0",
1311
"@types/bn.js": "^5.1.0",
1412
"@types/chai": "^4.3.0",
1513
"@types/mocha": "^9.0.0",
14+
"anchor-bankrun": "^0.4.0",
1615
"chai": "^4.3.4",
1716
"mocha": "^9.0.3",
1817
"prettier": "^2.6.2",
18+
"solana-bankrun": "^0.3.0",
1919
"ts-mocha": "^10.0.0",
2020
"typescript": "^4.3.5"
2121
},

basics/create-account/anchor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"type": "module",
33
"dependencies": {
4-
"@coral-xyz/anchor": "^0.30.0",
4+
"@coral-xyz/anchor": "0.31.1",
55
"@solana/web3.js": "^1.95.2"
66
},
77
"devDependencies": {
8-
"anchor-bankrun": "^0.4.0",
9-
"solana-bankrun": "^0.3.0",
108
"@types/bn.js": "^5.1.0",
119
"@types/chai": "^4.3.0",
1210
"@types/mocha": "^9.0.0",
11+
"anchor-bankrun": "^0.4.0",
1312
"chai": "^4.4.1",
1413
"mocha": "^9.0.3",
14+
"solana-bankrun": "^0.3.0",
1515
"ts-mocha": "^10.0.0",
1616
"typescript": "^4.3.5"
1717
}

basics/cross-program-invocation/anchor/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
66
},
77
"dependencies": {
8-
"@coral-xyz/anchor": "^0.30.0",
8+
"@coral-xyz/anchor": "0.31.1",
99
"@solana/web3.js": "^1.95.2"
1010
},
1111
"devDependencies": {
12+
"@types/bn.js": "^5.1.0",
13+
"@types/chai": "^4.3.0",
14+
"@types/mocha": "^9.0.0",
1215
"anchor-bankrun": "^0.4.0",
13-
"solana-bankrun": "^0.3.0",
1416
"chai": "^4.3.4",
1517
"mocha": "^9.0.3",
18+
"prettier": "^2.6.2",
19+
"solana-bankrun": "^0.3.0",
1620
"ts-mocha": "^10.0.0",
17-
"@types/bn.js": "^5.1.0",
18-
"@types/chai": "^4.3.0",
19-
"@types/mocha": "^9.0.0",
20-
"typescript": "^4.3.5",
21-
"prettier": "^2.6.2"
21+
"typescript": "^4.3.5"
2222
}
2323
}

basics/cross-program-invocation/anchor/tests/bankrun.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { startAnchor } from 'solana-bankrun';
66
import type { Hand } from '../target/types/hand';
77
import type { Lever } from '../target/types/lever';
88

9-
import { IDL as HAND_IDL } from "../target/idl/hand.json" with { type: "json" };
10-
import { IDL as LEVER_IDL } from "../target/idl/lever.json" with { type: "json" };
9+
import HAND_IDL from "../target/idl/hand.json" with { type: "json" };
10+
import LEVER_IDL from "../target/idl/lever.json" with { type: "json" };
1111
const HAND_PROGRAM_ID = new PublicKey(HAND_IDL.address);
1212
const LEVER_PROGRAM_ID = new PublicKey(LEVER_IDL.address);
1313

0 commit comments

Comments
 (0)