@@ -383,7 +383,6 @@ public async Task WaitForTransactionReceipt()
383383 var normalTxHash = "0x5a0b6cdb01ecfb25b368d3de1ac844414980ee3c330ec8c1435117b75027b5d7" ;
384384 var failedTxHash = "0xd2840219ffe172377c8a455c13d95e4dca204d5c0dd72232093e092eef412488" ;
385385 var aaTxHash = "0xbf76bd85e1759cf5cf9f4c7c52e76a74d32687f0b516017ff28192d04df50782" ;
386- var aaSilentRevertTxHash = "0x8ada86c63846da7a3f91b8c8332de03f134e7619886425df858ee5400a9d9958" ;
387386
388387 var normalReceipt = await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , normalTxHash ) ;
389388 Assert . NotNull ( normalReceipt ) ;
@@ -393,19 +392,6 @@ public async Task WaitForTransactionReceipt()
393392
394393 var aaReceipt = await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , aaTxHash ) ;
395394 Assert . NotNull ( aaReceipt ) ;
396-
397- var aaFailedReceipt = await Assert . ThrowsAsync < Exception > ( async ( ) => await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , aaSilentRevertTxHash ) ) ;
398- Assert . StartsWith ( $ "Transaction { aaSilentRevertTxHash } execution silently reverted", aaFailedReceipt . Message ) ;
399- }
400-
401- [ Fact ( Timeout = 120000 ) ]
402- public async Task WaitForTransactionReceipt_AAReasonString ( )
403- {
404- var client = this . Client ;
405- var chainId = 84532 ;
406- var aaSilentRevertTxHashWithReason = "0x5374743bbb749df47a279ac21e6ed472c30cd471923a7bc78db6a40e1b6924de" ;
407- var aaFailedReceiptWithReason = await Assert . ThrowsAsync < Exception > ( async ( ) => await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , aaSilentRevertTxHashWithReason ) ) ;
408- Assert . StartsWith ( $ "Transaction { aaSilentRevertTxHashWithReason } execution silently reverted:", aaFailedReceiptWithReason . Message ) ;
409395 }
410396
411397 [ Fact ( Timeout = 120000 ) ]
@@ -416,7 +402,6 @@ public async Task WaitForTransactionReceipt_CancellationToken()
416402 var normalTxHash = "0x5a0b6cdb01ecfb25b368d3de1ac844414980ee3c330ec8c1435117b75027b5d7" ;
417403 var failedTxHash = "0xd2840219ffe172377c8a455c13d95e4dca204d5c0dd72232093e092eef412488" ;
418404 var aaTxHash = "0xbf76bd85e1759cf5cf9f4c7c52e76a74d32687f0b516017ff28192d04df50782" ;
419- var aaSilentRevertTxHash = "0x8ada86c63846da7a3f91b8c8332de03f134e7619886425df858ee5400a9d9958" ;
420405
421406 var cts = new CancellationTokenSource ( ) ;
422407 cts . CancelAfter ( 10000 ) ;
@@ -435,8 +420,6 @@ public async Task WaitForTransactionReceipt_CancellationToken()
435420
436421 cts = new CancellationTokenSource ( ) ;
437422 cts . CancelAfter ( 10000 ) ;
438- var aaFailedReceipt = await Assert . ThrowsAsync < Exception > ( async ( ) => await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , aaSilentRevertTxHash , cts . Token ) ) ;
439- Assert . StartsWith ( $ "Transaction { aaSilentRevertTxHash } execution silently reverted", aaFailedReceipt . Message ) ;
440423
441424 var aaReceipt2 = await ThirdwebTransaction . WaitForTransactionReceipt ( client , chainId , aaTxHash , CancellationToken . None ) ;
442425 Assert . NotNull ( aaReceipt2 ) ;
0 commit comments