File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
cross-program-invocation/anchor Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import { startAnchor } from 'solana-bankrun';
66import type { Hand } from '../target/types/hand' ;
77import 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" } ;
1111const HAND_PROGRAM_ID = new PublicKey ( HAND_IDL . address ) ;
1212const LEVER_PROGRAM_ID = new PublicKey ( LEVER_IDL . address ) ;
1313
You can’t perform that action at this time.
0 commit comments