Skip to content

Push on main

Push on main #109

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

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

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

Details

❌️ playmode-results.xml - 105/106, failed: 1 - Failed in 488.204s
  • ✅ CustomReadTests - 4/4 - Passed in 1.465s
    • Custom_WithAbi_Success - Passed in 0.810s
    • Custom_WithoutAbi_Fetch - Passed in 0.427s
    • Custom_WithString_Success - Passed in 0.209s
    • GetContract_Success - Passed in 0.019s
  • ✅ ERC1155ReadTests - 8/8 - Passed in 5.416s
    • ERC1155_BalanceOf_Success - Passed in 0.289s
    • ERC1155_Get_Success - Passed in 1.026s
    • ERC1155_GetAll_Success - Passed in 3.078s
    • ERC1155_GetOwned_Success - Passed in 0.392s
    • ERC1155_IsApprovedForAll_Success - Passed in 0.195s
    • ERC1155_TotalCount_Success - Passed in 0.223s
    • ERC1155_TotalSupply_Success - Passed in 0.204s
    • GetContract_Success - Passed in 0.010s
  • ❌️ ERC1155WriteTests - 3/4, failed: 1 - Failed in 60.135s
    • ❌️ ERC1155_Burn_Success - Failed in 7.811s
      System.AggregateException : One or more errors occurred. (Error occurred when trying to send rpc requests(s): eth_call)
      ----> Nethereum.JsonRpc.Client.RpcClientUnknownException : Error occurred when trying to send rpc requests(s): eth_call
      ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
      ----> System.IO.IOException : The server returned an invalid or unrecognized response.
      at ERC1155WriteTests+<ERC1155_Claim_Success>d__6.MoveNext () [0x000dc] in Assets/Tests/ERC1155WriteTests.cs:74
      at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
      --RpcClientUnknownException
      at Thirdweb.ThirdwebClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage request, System.String route) [0x002c4] in Assets/Thirdweb/Core/Scripts/ThirdwebClient.cs:155
      at Nethereum.JsonRpc.Client.ClientBase.SendInnerRequestAsync[T] (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage reqMsg, System.String route) [0x0007b] in <66374d5b2f39468faa1075c894ca7222>:0
      at Nethereum.JsonRpc.Client.ClientBase.SendRequestAsync[T] (Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x0011b] in <66374d5b2f39468faa1075c894ca7222>:0
      at Nethereum.Contracts.ContractCall.CallAsync (Nethereum.RPC.Eth.DTOs.CallInput callInput, Nethereum.RPC.Eth.DTOs.BlockParameter block) [0x00095] in <c402bd4706514fb0b44822162e62cb84>:0
      at Nethereum.Contracts.QueryHandlers.QueryDecoderBaseHandler`2[TFunctionMessage,TFunctionOutput].QueryAsync (System.String contractAddress, TFunctionMessage functionMessage, Nethereum.RPC.Eth.DTOs.BlockParameter block) [0x00086] in <c402bd4706514fb0b44822162e62cb84>:0
      at Thirdweb.TransactionManager.ThirdwebRead[TWFunction,TWResult] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage) [0x0016b] in Assets/Thirdweb/Core/Scripts/TransactionManager.cs:40
      at Thirdweb.ERC1155ClaimConditions.GetActive (System.String tokenId) [0x0010d] in Assets/Thirdweb/Core/Scripts/ERC1155.cs:590
      at Thirdweb.ERC1155.ClaimTo (System.String address, System.String tokenId, System.Int32 quantity) [0x00102] in Assets/Thirdweb/Core/Scripts/ERC1155.cs:450
      at Thirdweb.ERC1155.Claim (System.String tokenId, System.Int32 quantity) [0x00178] in Assets/Thirdweb/Core/Scripts/ERC1155.cs:435
      --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.ThirdwebClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage request, System.String route) [0x000bc] in Assets/Thirdweb/Core/Scripts/ThirdwebClient.cs:135
      --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
    • ERC1155_Claim_Success - Passed in 15.463s
    • ERC1155_SetApprovalForAll_Success - Passed in 14.073s
    • ERC1155_Transfer_Success - Passed in 22.789s
  • ✅ ERC20ReadTests - 5/5 - Passed in 2.622s
    • ERC20_AllowanceOf_Success - Passed in 0.688s
    • ERC20_BalanceOf_Success - Passed in 0.694s
    • ERC20_Get_Success - Passed in 0.541s
    • ERC20_TotalSupply_Success - Passed in 0.682s
    • GetContract_Success - Passed in 0.016s
  • ✅ ERC20WriteTests - 4/4 - Passed in 78.662s
    • ERC20_Burn_Success - Passed in 22.814s
    • ERC20_Claim_Success - Passed in 14.892s
    • ERC20_SetAllowance_Success - Passed in 16.277s
    • ERC20_Transfer_Success - Passed in 24.680s
  • ✅ ERC721ReadTests - 8/8 - Passed in 4.438s
    • ERC721_BalanceOf_Success - Passed in 0.206s
    • ERC721_Get_Success - Passed in 0.997s
    • ERC721_GetAll_Success - Passed in 2.504s
    • ERC721_GetOwned_Success - Passed in 0.178s
    • ERC721_IsApprovedForAll_Success - Passed in 0.174s
    • ERC721_OwnerOf_Success - Passed in 0.185s
    • ERC721_TotalCount_Success - Passed in 0.185s
    • GetContract_Success - Passed in 0.010s
  • ✅ ERC721WriteTests - 1/1 - Passed in 15.399s
    • ERC721_SetApprovalForAll_Success - Passed in 15.399s
  • ✅ EventsTests - 1/1 - Passed in 0.258s
    • GetEventLogs_Success - Passed in 0.258s
  • ✅ MarketplaceReadTests - 20/20 - Passed in 86.530s
    • DirectListings_GetAll_Success - Passed in 59.889s
    • DirectListings_GetAllValid_Success - Passed in 8.946s
    • DirectListings_GetListing_Success - Passed in 1.470s
    • DirectListings_GetTotalCount_Success - Passed in 0.182s
    • DirectListings_IsBuyerApprovedForListing_Success - Passed in 0.213s
    • DirectListings_IsCurrencyApprovedForListing_Success - Passed in 0.210s
    • EnglishAuctions_GetAll_Success - Passed in 2.111s
    • EnglishAuctions_GetAllValid_Success - Passed in 1.965s
    • EnglishAuctions_GetAuction_Success - Passed in 1.418s
    • EnglishAuctions_GetBidBufferBps_Success - Passed in 1.486s
    • EnglishAuctions_GetMinimumNextBid_Success - Passed in 2.069s
    • EnglishAuctions_GetTotalCount_Success - Passed in 0.187s
    • EnglishAuctions_GetWinner_Success - Passed in 0.193s
    • EnglishAuctions_GetWinningBid_Success - Passed in 0.699s
    • EnglishAuctions_IsWinningBid_Success - Passed in 0.182s
    • GetContract_Success - Passed in 0.010s
    • Offers_GetAll_Success - Passed in 1.833s
    • Offers_GetAllValid_Success - Passed in 1.801s
    • Offers_GetOffer_Success - Passed in 1.481s
    • Offers_GetTotalCount_Success - Passed in 0.186s
  • ✅ PackReadTests - 5/5 - Passed in 1.439s
    • BalanceOf_Success - Passed in 0.219s
    • Get_Success - Passed in 0.634s
    • GetPackContents_Success - Passed in 0.204s
    • IsApprovedForAll_Success - Passed in 0.188s
    • TotalSupply_Success - Passed in 0.193s
  • ✅ SmartWalletTests - 5/5 - Passed in 75.118s
    • Connect_WithGaslessManagedAccountFactory_Success - Passed in 7.100s
    • CreateSessionKey_WithValidSignerCheck_Success - Passed in 14.554s
    • Deploy_WithSign_Success - Passed in 14.985s
    • IsDeployed_Success - Passed in 14.815s
    • RevokeSessionKey_WithValidSignerCheck_Success - Passed in 23.665s
  • ✅ StorageTests - 11/11 - Passed in 9.150s
    • DownloadImage_WithIPFS_Success - Passed in 3.472s
    • DownloadImage_WithoutIPFS_Success - Passed in 0.304s
    • DownloadText_WithIPFS_Success - Passed in 0.155s
    • DownloadText_WithoutIPFS_Success - Passed in 0.851s
    • Gateway_WithClientId_Success - Passed in 0.011s
    • Gateway_WithoutClientId_Success - Passed in 0.010s
    • Gateway_WithOverride_Success - Passed in 0.011s
    • UploadFromPath_WithClientId_Success - Passed in 0.451s
    • UploadFromPath_WithoutClientId_Fail - Passed in 3.010s
    • UploadText_WithClientId_Success - Passed in 0.860s
    • UploadText_WithoutClientId_Fail - Passed in 0.013s
  • ✅ ThirdwebManagerTests - 8/8 - Passed in 7.093s
    • Initialization_HappyPath - Passed in 0.014s
    • Initialization_WithClientIdAndBundleIdOverride_AppliesCorrectly - Passed in 0.012s
    • Initialization_WithClientIdNoBundleIdOverride_AppliesCorrectly - Passed in 0.012s
    • Initialization_WithDefaultChain_Success - Passed in 0.012s
    • Initialization_WithRpcOverride_AppliesCorrectly - Passed in 0.017s
    • Initialization_WithUnknownChain_ConnectsButFails - Passed in 7.004s
    • Initialization_WithUnsupportedActiveChain_Throws - Passed in 0.011s
    • SingletonPattern_Enforcement_Success - Passed in 0.010s
  • ✅ ThirdwebSDKTests - 8/8 - Passed in 37.666s
    • ContractRead_Success - Passed in 0.734s
    • ContractWrite_Success - Passed in 14.949s
    • CustomContractRead_Success - Passed in 0.547s
    • CustomContractWrite_Success - Passed in 13.676s
    • Initialization_Success - Passed in 0.015s
    • IPFSDownload_Success - Passed in 0.302s
    • IPFSUpload_Success - Passed in 0.503s
    • WalletSignMessage_Success - Passed in 6.940s
  • ✅ TransactionReadTests - 1/1 - Passed in 0.184s
    • Static_WaitForTransactionResult_Success - Passed in 0.184s
  • ✅ WalletTests - 13/13 - Passed in 102.531s
    • Connect_WithLocalWallet_Fail - Passed in 13.556s
    • Connect_WithLocalWallet_Success - Passed in 6.851s
    • Disconnect_WithLocalWallet_Success - Passed in 7.270s
    • Export_WithLocalWallet_Success - Passed in 15.435s
    • GetAddress_WithLocalWallet_Fail - Passed in 8.038s
    • GetAddress_WithLocalWallet_Success - Passed in 6.842s
    • GetBalance_WithLocalWallet_Success - Passed in 7.308s
    • GetChainId_WithLocalWallet_Success - Passed in 7.356s
    • IsConnected_WithLocalWallet_Fail - Passed in 0.017s
    • IsConnected_WithLocalWallet_Success - Passed in 7.072s
    • SendRawTransaction_WithLocalWallet_Fail - Passed in 7.915s
    • Sign_WithLocalWallet_Success - Passed in 6.788s
    • Transfer_WithLocalWallet_Fail - Passed in 8.083s

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

ERC1155WriteTests.ERC1155_Burn_Success

System.AggregateException : One or more errors occurred. (Error occurred when trying to send rpc requests(s): eth_call)
  ----> Nethereum.JsonRpc.Client.RpcClientUnknownException : Error occurred when trying to send rpc requests(s): eth_call
  ----> 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 ERC1155WriteTests+<ERC1155_Claim_Success>d__6.MoveNext () [0x000dc] in /github/workspace/Assets/Tests/ERC1155WriteTests.cs:74 
  at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46 
--RpcClientUnknownException
  at Thirdweb.ThirdwebClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage request, System.String route) [0x002c4] in /github/workspace/Assets/Thirdweb/Core/Scripts/ThirdwebClient.cs:155 
  at Nethereum.JsonRpc.Client.ClientBase.SendInnerRequestAsync[T] (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage reqMsg, System.String route) [0x0007b] in <66374d5b2f39468faa1075c894ca7222>:0 
  at Nethereum.JsonRpc.Client.ClientBase.SendRequestAsync[T] (Nethereum.JsonRpc.Client.RpcRequest request, System.String route) [0x0011b] in <66374d5b2f39468faa1075c894ca7222>:0 
  at Nethereum.Contracts.ContractCall.CallAsync (Nethereum.RPC.Eth.DTOs.CallInput callInput, Nethereum.RPC.Eth.DTOs.BlockParameter block) [0x00095] in <c402bd4706514fb0b44822162e62cb84>:0 
  at Nethereum.Contracts.QueryHandlers.QueryDecoderBaseHandler`2[TFunctionMessage,TFunctionOutput].QueryAsync (System.String contractAddress, TFunctionMessage functionMessage, Nethereum.RPC.Eth.DTOs.BlockParameter block) [0x00086] in <c402bd4706514fb0b44822162e62cb84>:0 
  at Thirdweb.TransactionManager.ThirdwebRead[TWFunction,TWResult] (Thirdweb.ThirdwebSDK sdk, System.String contractAddress, TWFunction functionMessage) [0x0016b] in /github/workspace/Assets/Thirdweb/Core/Scripts/TransactionManager.cs:40 
  at Thirdweb.ERC1155ClaimConditions.GetActive (System.String tokenId) [0x0010d] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC1155.cs:590 
  at Thirdweb.ERC1155.ClaimTo (System.String address, System.String tokenId, System.Int32 quantity) [0x00102] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC1155.cs:450 
  at Thirdweb.ERC1155.Claim (System.String tokenId, System.Int32 quantity) [0x00178] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC1155.cs:435 
--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.ThirdwebClient.SendAsync (Nethereum.JsonRpc.Client.RpcMessages.RpcRequestMessage request, System.String route) [0x000bc] in /github/workspace/Assets/Thirdweb/Core/Scripts/ThirdwebClient.cs:135 
--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