@@ -315,7 +315,7 @@ describe('transaction', () => {
315315 note : 'txn2' ,
316316 } satisfies Parameters < ( typeof appClient1 ) [ 'send' ] [ 'call' ] > [ 0 ]
317317
318- const result = await appClient1 . algorand
318+ const result = await appClient1
319319 . newGroup ( )
320320 . addAppCallMethodCall ( await appClient1 . params . call ( txn1Params ) )
321321 . addAppCallMethodCall ( await appClient1 . params . call ( txn2Params ) )
@@ -406,7 +406,7 @@ describe('transaction', () => {
406406 const { testAccount } = localnet . context
407407 const expectedFee = 8000n
408408
409- const result = await appClient1 . algorand
409+ const result = await appClient1
410410 . newGroup ( )
411411 . addPayment ( {
412412 sender : testAccount . addr ,
@@ -432,7 +432,7 @@ describe('transaction', () => {
432432
433433 test ( 'alters fee, allocating surplus fees to the most fee constrained transaction first' , async ( ) => {
434434 const { testAccount } = localnet . context
435- const result = await appClient1 . algorand
435+ const result = await appClient1
436436 . newGroup ( )
437437 . addAppCallMethodCall (
438438 await appClient1 . params . call ( {
@@ -520,7 +520,7 @@ describe('transaction', () => {
520520 test ( 'throws when maxFee is below the calculated fee' , async ( ) => {
521521 await expect (
522522 async ( ) =>
523- await appClient1 . algorand
523+ await appClient1
524524 . newGroup ( )
525525 . addAppCallMethodCall (
526526 await appClient1 . params . call ( {
@@ -581,7 +581,7 @@ describe('transaction', () => {
581581 test ( 'throws when staticFee is below the calculated fee' , async ( ) => {
582582 await expect (
583583 async ( ) =>
584- await appClient1 . algorand
584+ await appClient1
585585 . newGroup ( )
586586 . addAppCallMethodCall (
587587 await appClient1 . params . call ( {
@@ -607,7 +607,7 @@ describe('transaction', () => {
607607 const { testAccount } = localnet . context
608608 await expect (
609609 async ( ) =>
610- await appClient1 . algorand
610+ await appClient1
611611 . newGroup ( )
612612 . addAppCallMethodCall (
613613 await appClient1 . params . call ( {
@@ -787,12 +787,12 @@ const resourcePopulationTests = (version: 8 | 9) => () => {
787787 let alice : Address & Account
788788
789789 describe ( 'accounts' , ( ) => {
790- test ( 'addressBalance: invalid Account reference ' , async ( ) => {
790+ test ( 'addressBalance: unavailable Account' , async ( ) => {
791791 const { testAccount } = fixture . context
792792 alice = testAccount
793793 await expect (
794794 appClient . send . call ( { method : 'addressBalance' , args : [ testAccount . toString ( ) ] , populateAppCallResources : false } ) ,
795- ) . rejects . toThrow ( 'invalid Account reference ' )
795+ ) . rejects . toThrow ( 'unavailable Account' )
796796 } )
797797
798798 test ( 'addressBalance' , async ( ) => {
@@ -846,7 +846,7 @@ const resourcePopulationTests = (version: 8 | 9) => () => {
846846 } )
847847
848848 describe ( 'cross-product references' , ( ) => {
849- const hasAssetErrorMsg = version === 8 ? 'invalid Account reference' : 'unavailable Account'
849+ const hasAssetErrorMsg = 'unavailable Account'
850850
851851 test ( `hasAsset: ${ hasAssetErrorMsg } ` , async ( ) => {
852852 const { testAccount } = fixture . context
@@ -885,14 +885,14 @@ const resourcePopulationTests = (version: 8 | 9) => () => {
885885 } )
886886
887887 describe ( 'sendTransaction' , ( ) => {
888- test ( 'addressBalance: invalid Account reference ' , async ( ) => {
888+ test ( 'addressBalance: unavailable Account' , async ( ) => {
889889 await expect (
890890 appClient . send . call ( {
891891 method : 'addressBalance' ,
892892 args : [ algosdk . generateAccount ( ) . addr . toString ( ) ] ,
893893 populateAppCallResources : false ,
894894 } ) ,
895- ) . rejects . toThrow ( 'invalid Account reference ' )
895+ ) . rejects . toThrow ( 'unavailable Account' )
896896 } )
897897
898898 test ( 'addressBalance' , async ( ) => {
0 commit comments