File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
checking-accounts/anchor/tests
favorites/anchor/programs/favorites Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ describe("Bankrun example", async () => {
2424 const provider = new BankrunProvider ( context ) ;
2525
2626 const wallet = provider . wallet as anchor . Wallet ;
27- const program = new anchor . Program < AnchorProgramExample > ( IDL , provider ) ;
27+ const program = new anchor . Program < CheckingAccountProgram > ( IDL , provider ) ;
2828 const client = context . banksClient ;
2929
3030 // We'll create this ahead of time.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ describe("Anchor example", () => {
1111 const provider = anchor . AnchorProvider . env ( ) ;
1212 anchor . setProvider ( provider ) ;
1313 const program = anchor . workspace
14- . AnchorProgramExample as anchor . Program < AnchorProgramExample > ;
14+ . CheckingAccountProgram as anchor . Program < CheckingAccountProgram > ;
1515 const wallet = provider . wallet as anchor . Wallet ;
1616
1717 // We'll create this ahead of time.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ custom-heap = []
2020custom-panic = []
2121
2222[dependencies ]
23- anchor-lang = " 0.32.1"
23+ anchor-lang = { version = " 0.32.1" , features = [ " init-if-needed " ]}
2424
2525[lints .rust ]
2626unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(target_os, values("solana"))' ] }
You can’t perform that action at this time.
0 commit comments