File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
clients/typescript/test/low-level/permissioning Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -106,17 +106,11 @@ export function world(framework) {
106106 world : framework . worldPda ,
107107 } )
108108 . instruction ( ) ;
109- let transaction = new anchor . web3 . Transaction ( ) . add ( instruction ) ;
110- let signature = await framework . provider . sendAndConfirm ( transaction , [ ] , {
109+ const transaction = new anchor . web3 . Transaction ( ) . add ( instruction ) ;
110+ await framework . provider . sendAndConfirm ( transaction , [ ] , {
111111 skipPreflight : true ,
112112 } ) ;
113113
114- let transactionResponse =
115- await framework . provider . connection . getTransaction ( signature , {
116- commitment : "confirmed" ,
117- } ) ;
118- console . log ( transactionResponse . meta ?. logMessages ) ; // Reference CU is 29222
119-
120114 // Get World and check permissionless and systems
121115 const worldAccount = await framework . worldProgram . account . world . fetch (
122116 framework . worldPda ,
You can’t perform that action at this time.
0 commit comments