File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2121 "scripts" : {
2222 "build" : " rimraf dist && tsup && tsc -p ./tsconfig.declarations.json" ,
2323 "build:docs" : " typedoc" ,
24- "test" : " ava" ,
24+ "test" : " tsc --noEmit && ava" ,
2525 "lint" : " eslint src" ,
2626 "lint:fix" : " eslint --fix src" ,
2727 "format" : " prettier --check src test" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
1212 airdropFactory ,
1313 appendTransactionMessageInstructions ,
1414 assertIsSendableTransaction ,
15+ assertIsTransactionWithBlockhashLifetime ,
1516 createSolanaRpc ,
1617 createSolanaRpcSubscriptions ,
1718 createTransactionMessage ,
@@ -68,6 +69,7 @@ export const signAndSendTransaction = async (
6869 const signedTransaction = await signTransactionMessageWithSigners ( transactionMessage ) ;
6970 const signature = getSignatureFromTransaction ( signedTransaction ) ;
7071 assertIsSendableTransaction ( signedTransaction ) ;
72+ assertIsTransactionWithBlockhashLifetime ( signedTransaction ) ;
7173 await sendAndConfirmTransactionFactory ( client ) ( signedTransaction , {
7274 commitment,
7375 } ) ;
Original file line number Diff line number Diff line change 55 createRecord ,
66 createWriteInstruction ,
77 reallocateRecord ,
8- createSetAuthorityInstruction ,
9- createCloseRecordInstruction ,
108 RECORD_META_DATA_SIZE ,
119} from '../src' ;
1210import {
@@ -20,7 +18,6 @@ test('basic instructions flow', async t => {
2018 const payer = await generateKeyPairSignerWithSol ( client ) ;
2119
2220 const recordAuthority = await generateKeyPairSigner ( ) ;
23- const newRecordAuthority = await generateKeyPairSigner ( ) ;
2421
2522 const initialRecordSize = 0n ;
2623 const newRecordSize = 5n ;
You can’t perform that action at this time.
0 commit comments