Skip to content

Push on main

Push on main #104

GitHub Actions / Test Results completed Jun 3, 2024 in 0s

❌️ Test Results - 105/106, failed: 1 - Failed in 452.080s

❌️ playmode-results.xml - 105/106, failed: 1 - Failed in 452.080s

Details

❌️ playmode-results.xml - 105/106, failed: 1 - Failed in 452.080s
  • ✅ CustomReadTests - 4/4 - Passed in 2.118s
    • Custom_WithAbi_Success - Passed in 1.032s
    • Custom_WithoutAbi_Fetch - Passed in 0.932s
    • Custom_WithString_Success - Passed in 0.142s
    • GetContract_Success - Passed in 0.013s
  • ✅ ERC1155ReadTests - 8/8 - Passed in 3.676s
    • ERC1155_BalanceOf_Success - Passed in 0.227s
    • ERC1155_Get_Success - Passed in 0.567s
    • ERC1155_GetAll_Success - Passed in 2.151s
    • ERC1155_GetOwned_Success - Passed in 0.243s
    • ERC1155_IsApprovedForAll_Success - Passed in 0.139s
    • ERC1155_TotalCount_Success - Passed in 0.199s
    • ERC1155_TotalSupply_Success - Passed in 0.140s
    • GetContract_Success - Passed in 0.010s
  • ✅ ERC1155WriteTests - 4/4 - Passed in 77.456s
    • ERC1155_Burn_Success - Passed in 22.439s
    • ERC1155_Claim_Success - Passed in 15.289s
    • ERC1155_SetApprovalForAll_Success - Passed in 15.418s
    • ERC1155_Transfer_Success - Passed in 24.311s
  • ✅ ERC20ReadTests - 5/5 - Passed in 1.737s
    • ERC20_AllowanceOf_Success - Passed in 0.493s
    • ERC20_BalanceOf_Success - Passed in 0.420s
    • ERC20_Get_Success - Passed in 0.315s
    • ERC20_TotalSupply_Success - Passed in 0.499s
    • GetContract_Success - Passed in 0.010s
  • ❌️ ERC20WriteTests - 3/4, failed: 1 - Failed in 61.759s
    • ERC20_Burn_Success - Passed in 20.627s
    • ERC20_Claim_Success - Passed in 14.273s
    • ERC20_SetAllowance_Success - Passed in 13.921s
    • ❌️ ERC20_Transfer_Success - Failed in 12.937s
      System.AggregateException : One or more errors occurred. (An error occurred while sending the request.)
      ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
      ----> System.IO.IOException : The server returned an invalid or unrecognized response.
      at ERC20WriteTests+<ERC20_Claim_Success>d__6.MoveNext () [0x000db] in Assets/Tests/ERC20WriteTests.cs:74
      at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
      --HttpRequestException
      at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x012e5] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync (System.Net.Http.HttpConnection connection, System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x0012b] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x0014b] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x0017e] in <756861d938bc44d2869fa0363dcf50a0>:0
      at Thirdweb.AccountAbstraction.BundlerClient.BundlerRequest (System.String url, System.String apiKey, System.String bundleId, System.Object requestId, System.String method, System.Object[] args) [0x0019a] in Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/BundlerClient.cs:111
      at Thirdweb.AccountAbstraction.BundlerClient.EthGetUserOperationReceipt (System.String bundlerUrl, System.String apiKey, System.String bundleId, System.Object requestId, System.String userOpHash) [0x00046] in Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/BundlerClient.cs:22
      at Thirdweb.AccountAbstraction.SmartWallet.CreateUserOpAndSend (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage requestMessage) [0x007b5] in Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs:462
      at Thirdweb.AccountAbstraction.SmartWallet.Request (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage requestMessage) [0x002ba] in Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs:209
      at Thirdweb.AccountAbstraction.SmartWalletClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage message, System.String route) [0x00041] in Assets/Thirdweb/Core/Scripts/AccountAbstraction/Nethereum/SmartWalletClient.cs:31
      at Nethereum.JsonRpc.Client.ClientBase.SendInnerRequestAsync[T] (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage reqMsg, System.String route) [0x0007b] in <66374d5b2f39468faa1075c894ca7222>:0
      at Thirdweb.ThirdwebInterceptor.InterceptSendRequestAsync[T] (System.Func`3[T1,T2,TResult] interceptedSendRequestAsync, Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x005a3] in Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs:79
      at Nethereum.JsonRpc.Client.ClientBase.SendRequestAsync[T] (Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x0009f] in <66374d5b2f39468faa1075c894ca7222>:0
      at Thirdweb.Transaction.Send () [0x0051a] in Assets/Thirdweb/Core/Scripts/Transaction.cs:474
      at Thirdweb.Transaction.Send (System.Nullable`1[T] gasless) [0x00397] in Assets/Thirdweb/Core/Scripts/Transaction.cs:356
      at Thirdweb.TransactionManager.ThirdwebWriteRawResult[TWFunction] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage, System.Nullable`1[T] weiValue, System.Nullable`1[T] gasOverride) [0x00321] in Assets/Thirdweb/Core/Scripts/TransactionManager.cs:104
      at Thirdweb.TransactionManager.ThirdwebWrite[TWFunction] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage, System.Nullable`1[T] weiValue, System.Nullable`1[T] gasOverride) [0x00038] in Assets/Thirdweb/Core/Scripts/TransactionManager.cs:67
      at Thirdweb.ERC20.ClaimTo (System.String address, System.String amount) [0x0036e] in Assets/Thirdweb/Core/Scripts/ERC20.cs:276
      at Thirdweb.ERC20.Claim (System.String amount) [0x00161] in Assets/Thirdweb/Core/Scripts/ERC20.cs:253
      --IOException
      at System.Net.Http.HttpConnection.FillAsync () [0x0016e] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync (System.Boolean foldedHeadersAllowed) [0x002a0] in <756861d938bc44d2869fa0363dcf50a0>:0
      at System.Threading.Tasks.ValueTask`1[TResult].get_Result () [0x0001b] in <e31fef67d01346b69d78eed70638954f>:0
      at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00d9f] in <756861d938bc44d2869fa0363dcf50a0>:0
  • ✅ ERC721ReadTests - 8/8 - Passed in 3.544s
    • ERC721_BalanceOf_Success - Passed in 0.116s
    • ERC721_Get_Success - Passed in 0.791s
    • ERC721_GetAll_Success - Passed in 2.073s
    • ERC721_GetOwned_Success - Passed in 0.106s
    • ERC721_IsApprovedForAll_Success - Passed in 0.159s
    • ERC721_OwnerOf_Success - Passed in 0.158s
    • ERC721_TotalCount_Success - Passed in 0.132s
    • GetContract_Success - Passed in 0.010s
  • ✅ ERC721WriteTests - 1/1 - Passed in 14.867s
    • ERC721_SetApprovalForAll_Success - Passed in 14.867s
  • ✅ EventsTests - 1/1 - Passed in 0.217s
    • GetEventLogs_Success - Passed in 0.217s
  • ✅ MarketplaceReadTests - 20/20 - Passed in 63.745s
    • DirectListings_GetAll_Success - Passed in 44.347s
    • DirectListings_GetAllValid_Success - Passed in 6.881s
    • DirectListings_GetListing_Success - Passed in 1.056s
    • DirectListings_GetTotalCount_Success - Passed in 0.133s
    • DirectListings_IsBuyerApprovedForListing_Success - Passed in 0.109s
    • DirectListings_IsCurrencyApprovedForListing_Success - Passed in 0.148s
    • EnglishAuctions_GetAll_Success - Passed in 1.384s
    • EnglishAuctions_GetAllValid_Success - Passed in 1.201s
    • EnglishAuctions_GetAuction_Success - Passed in 1.018s
    • EnglishAuctions_GetBidBufferBps_Success - Passed in 0.935s
    • EnglishAuctions_GetMinimumNextBid_Success - Passed in 1.738s
    • EnglishAuctions_GetTotalCount_Success - Passed in 0.113s
    • EnglishAuctions_GetWinner_Success - Passed in 0.113s
    • EnglishAuctions_GetWinningBid_Success - Passed in 0.460s
    • EnglishAuctions_IsWinningBid_Success - Passed in 0.133s
    • GetContract_Success - Passed in 0.010s
    • Offers_GetAll_Success - Passed in 1.302s
    • Offers_GetAllValid_Success - Passed in 1.384s
    • Offers_GetOffer_Success - Passed in 1.143s
    • Offers_GetTotalCount_Success - Passed in 0.138s
  • ✅ PackReadTests - 5/5 - Passed in 1.100s
    • BalanceOf_Success - Passed in 0.180s
    • Get_Success - Passed in 0.512s
    • GetPackContents_Success - Passed in 0.153s
    • IsApprovedForAll_Success - Passed in 0.110s
    • TotalSupply_Success - Passed in 0.145s
  • ✅ SmartWalletTests - 5/5 - Passed in 71.856s
    • Connect_WithGaslessManagedAccountFactory_Success - Passed in 7.415s
    • CreateSessionKey_WithValidSignerCheck_Success - Passed in 14.814s
    • Deploy_WithSign_Success - Passed in 14.107s
    • IsDeployed_Success - Passed in 14.263s
    • RevokeSessionKey_WithValidSignerCheck_Success - Passed in 21.257s
  • ✅ StorageTests - 11/11 - Passed in 6.356s
    • DownloadImage_WithIPFS_Success - Passed in 0.836s
    • DownloadImage_WithoutIPFS_Success - Passed in 0.220s
    • DownloadText_WithIPFS_Success - Passed in 0.122s
    • DownloadText_WithoutIPFS_Success - Passed in 0.358s
    • Gateway_WithClientId_Success - Passed in 0.010s
    • Gateway_WithoutClientId_Success - Passed in 0.009s
    • Gateway_WithOverride_Success - Passed in 0.010s
    • UploadFromPath_WithClientId_Success - Passed in 0.634s
    • UploadFromPath_WithoutClientId_Fail - Passed in 3.020s
    • UploadText_WithClientId_Success - Passed in 1.125s
    • UploadText_WithoutClientId_Fail - Passed in 0.012s
  • ✅ ThirdwebManagerTests - 8/8 - Passed in 6.948s
    • Initialization_HappyPath - Passed in 0.013s
    • Initialization_WithClientIdAndBundleIdOverride_AppliesCorrectly - Passed in 0.010s
    • Initialization_WithClientIdNoBundleIdOverride_AppliesCorrectly - Passed in 0.010s
    • Initialization_WithDefaultChain_Success - Passed in 0.011s
    • Initialization_WithRpcOverride_AppliesCorrectly - Passed in 0.010s
    • Initialization_WithUnknownChain_ConnectsButFails - Passed in 6.876s
    • Initialization_WithUnsupportedActiveChain_Throws - Passed in 0.010s
    • SingletonPattern_Enforcement_Success - Passed in 0.009s
  • ✅ ThirdwebSDKTests - 8/8 - Passed in 36.124s
    • ContractRead_Success - Passed in 0.499s
    • ContractWrite_Success - Passed in 13.362s
    • CustomContractRead_Success - Passed in 0.645s
    • CustomContractWrite_Success - Passed in 13.837s
    • Initialization_Success - Passed in 0.013s
    • IPFSDownload_Success - Passed in 0.217s
    • IPFSUpload_Success - Passed in 0.886s
    • WalletSignMessage_Success - Passed in 6.664s
  • ✅ TransactionReadTests - 1/1 - Passed in 0.109s
    • Static_WaitForTransactionResult_Success - Passed in 0.109s
  • ✅ WalletTests - 13/13 - Passed in 100.374s
    • Connect_WithLocalWallet_Fail - Passed in 13.162s
    • Connect_WithLocalWallet_Success - Passed in 7.561s
    • Disconnect_WithLocalWallet_Success - Passed in 7.135s
    • Export_WithLocalWallet_Success - Passed in 13.523s
    • GetAddress_WithLocalWallet_Fail - Passed in 6.971s
    • GetAddress_WithLocalWallet_Success - Passed in 6.724s
    • GetBalance_WithLocalWallet_Success - Passed in 6.863s
    • GetChainId_WithLocalWallet_Success - Passed in 8.203s
    • IsConnected_WithLocalWallet_Fail - Passed in 0.019s
    • IsConnected_WithLocalWallet_Success - Passed in 7.248s
    • SendRawTransaction_WithLocalWallet_Fail - Passed in 8.686s
    • Sign_WithLocalWallet_Success - Passed in 6.726s
    • Transfer_WithLocalWallet_Fail - Passed in 7.553s

Annotations

Check failure on line 74 in Assets/Tests/ERC20WriteTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ERC20WriteTests.ERC20_Transfer_Success

System.AggregateException : One or more errors occurred. (An error occurred while sending the request.)
  ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
  ----> System.IO.IOException : The server returned an invalid or unrecognized response.
Raw output
  at ERC20WriteTests+<ERC20_Claim_Success>d__6.MoveNext () [0x000db] in /github/workspace/Assets/Tests/ERC20WriteTests.cs:74 
  at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46 
--HttpRequestException
  at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x012e5] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync (System.Net.Http.HttpConnection connection, System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x0012b] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x0014b] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x0017e] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at Thirdweb.AccountAbstraction.BundlerClient.BundlerRequest (System.String url, System.String apiKey, System.String bundleId, System.Object requestId, System.String method, System.Object[] args) [0x0019a] in /github/workspace/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/BundlerClient.cs:111 
  at Thirdweb.AccountAbstraction.BundlerClient.EthGetUserOperationReceipt (System.String bundlerUrl, System.String apiKey, System.String bundleId, System.Object requestId, System.String userOpHash) [0x00046] in /github/workspace/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/BundlerClient.cs:22 
  at Thirdweb.AccountAbstraction.SmartWallet.CreateUserOpAndSend (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage requestMessage) [0x007b5] in /github/workspace/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs:462 
  at Thirdweb.AccountAbstraction.SmartWallet.Request (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage requestMessage) [0x002ba] in /github/workspace/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Core/SmartWallet.cs:209 
  at Thirdweb.AccountAbstraction.SmartWalletClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage message, System.String route) [0x00041] in /github/workspace/Assets/Thirdweb/Core/Scripts/AccountAbstraction/Nethereum/SmartWalletClient.cs:31 
  at Nethereum.JsonRpc.Client.ClientBase.SendInnerRequestAsync[T] (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage reqMsg, System.String route) [0x0007b] in <66374d5b2f39468faa1075c894ca7222>:0 
  at Thirdweb.ThirdwebInterceptor.InterceptSendRequestAsync[T] (System.Func`3[T1,T2,TResult] interceptedSendRequestAsync, Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x005a3] in /github/workspace/Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs:79 
  at Nethereum.JsonRpc.Client.ClientBase.SendRequestAsync[T] (Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x0009f] in <66374d5b2f39468faa1075c894ca7222>:0 
  at Thirdweb.Transaction.Send () [0x0051a] in /github/workspace/Assets/Thirdweb/Core/Scripts/Transaction.cs:474 
  at Thirdweb.Transaction.Send (System.Nullable`1[T] gasless) [0x00397] in /github/workspace/Assets/Thirdweb/Core/Scripts/Transaction.cs:356 
  at Thirdweb.TransactionManager.ThirdwebWriteRawResult[TWFunction] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage, System.Nullable`1[T] weiValue, System.Nullable`1[T] gasOverride) [0x00321] in /github/workspace/Assets/Thirdweb/Core/Scripts/TransactionManager.cs:104 
  at Thirdweb.TransactionManager.ThirdwebWrite[TWFunction] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage, System.Nullable`1[T] weiValue, System.Nullable`1[T] gasOverride) [0x00038] in /github/workspace/Assets/Thirdweb/Core/Scripts/TransactionManager.cs:67 
  at Thirdweb.ERC20.ClaimTo (System.String address, System.String amount) [0x0036e] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC20.cs:276 
  at Thirdweb.ERC20.Claim (System.String amount) [0x00161] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC20.cs:253 
--IOException
  at System.Net.Http.HttpConnection.FillAsync () [0x0016e] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync (System.Boolean foldedHeadersAllowed) [0x002a0] in <756861d938bc44d2869fa0363dcf50a0>:0 
  at System.Threading.Tasks.ValueTask`1[TResult].get_Result () [0x0001b] in <e31fef67d01346b69d78eed70638954f>:0 
  at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00d9f] in <756861d938bc44d2869fa0363dcf50a0>:0