GitHub Actions / Test Results
completed
May 17, 2024 in 0s
❌️ Test Results - 99/100, failed: 1 - Failed in 499.163s
❌️ playmode-results.xml - 99/100, failed: 1 - Failed in 499.163s
Details
❌️ playmode-results.xml - 99/100, failed: 1 - Failed in 499.163s
- ✅ CustomReadTests - 4/4 - Passed in 2.353s
- ✅ Custom_WithAbi_Success - Passed in 1.056s
- ✅ Custom_WithoutAbi_Fetch - Passed in 0.626s
- ✅ Custom_WithString_Success - Passed in 0.547s
- ✅ GetContract_Success - Passed in 0.124s
- ✅ ERC1155ReadTests - 8/8 - Passed in 7.716s
- ✅ ERC1155_BalanceOf_Success - Passed in 0.584s
- ✅ ERC1155_Get_Success - Passed in 1.066s
- ✅ ERC1155_GetAll_Success - Passed in 4.078s
- ✅ ERC1155_GetOwned_Success - Passed in 0.705s
- ✅ ERC1155_IsApprovedForAll_Success - Passed in 0.507s
- ✅ ERC1155_TotalCount_Success - Passed in 0.322s
- ✅ ERC1155_TotalSupply_Success - Passed in 0.332s
- ✅ GetContract_Success - Passed in 0.123s
- ✅ ERC1155WriteTests - 4/4 - Passed in 85.403s
- ✅ ERC1155_Burn_Success - Passed in 26.756s
- ✅ ERC1155_Claim_Success - Passed in 18.390s
- ✅ ERC1155_SetApprovalForAll_Success - Passed in 15.987s
- ✅ ERC1155_Transfer_Success - Passed in 24.269s
- ❌️ ERC20ReadTests - 4/5, failed: 1 - Failed in 4.271s
- ✅ ERC20_AllowanceOf_Success - Passed in 1.068s
- ✅ ERC20_BalanceOf_Success - Passed in 0.886s
- ✅ ERC20_Get_Success - Passed in 0.660s
- ❌️ ERC20_TotalSupply_Success - Failed in 1.535s
System.AggregateException : One or more errors occurred. (Value was either too large or too small for a Decimal.)
----> System.OverflowException : Value was either too large or too small for a Decimal.
at ERC20ReadTests+<ERC20_TotalSupply_Success>d__8.MoveNext () [0x000b5] in Assets/Tests/ERC20ReadTests.cs:97
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
--OverflowException
at System.Numerics.BigInteger.op_Explicit (System.Numerics.BigInteger value) [0x00014] in <8234a40670204ce4ae60efcc6a6678db>:0
at Thirdweb.Utils.FormatERC20 (System.String wei, System.Int32 decimalsToDisplay, System.Int32 decimals, System.Boolean addCommas) [0x0001b] in Assets/Thirdweb/Core/Scripts/Utils.cs:112
at Thirdweb.ERC20.TotalSupply () [0x001ce] in Assets/Thirdweb/Core/Scripts/ERC20.cs:152 - ✅ GetContract_Success - Passed in 0.122s
- ✅ ERC20WriteTests - 4/4 - Passed in 80.266s
- ✅ ERC20_Burn_Success - Passed in 23.579s
- ✅ ERC20_Claim_Success - Passed in 17.143s
- ✅ ERC20_SetAllowance_Success - Passed in 15.759s
- ✅ ERC20_Transfer_Success - Passed in 23.785s
- ✅ ERC721ReadTests - 8/8 - Passed in 7.330s
- ✅ ERC721_BalanceOf_Success - Passed in 0.300s
- ✅ ERC721_Get_Success - Passed in 1.487s
- ✅ ERC721_GetAll_Success - Passed in 3.972s
- ✅ ERC721_GetOwned_Success - Passed in 0.305s
- ✅ ERC721_IsApprovedForAll_Success - Passed in 0.306s
- ✅ ERC721_OwnerOf_Success - Passed in 0.527s
- ✅ ERC721_TotalCount_Success - Passed in 0.311s
- ✅ GetContract_Success - Passed in 0.122s
- ✅ ERC721WriteTests - 1/1 - Passed in 15.582s
- ✅ ERC721_SetApprovalForAll_Success - Passed in 15.582s
- ✅ EventsTests - 1/1 - Passed in 0.624s
- ✅ GetEventLogs_Success - Passed in 0.624s
- ✅ MarketplaceReadTests - 20/20 - Passed in 79.070s
- ✅ DirectListings_GetAll_Success - Passed in 51.685s
- ✅ DirectListings_GetAllValid_Success - Passed in 5.830s
- ✅ DirectListings_GetListing_Success - Passed in 2.097s
- ✅ DirectListings_GetTotalCount_Success - Passed in 0.308s
- ✅ DirectListings_IsBuyerApprovedForListing_Success - Passed in 0.297s
- ✅ DirectListings_IsCurrencyApprovedForListing_Success - Passed in 0.309s
- ✅ EnglishAuctions_GetAll_Success - Passed in 2.120s
- ✅ EnglishAuctions_GetAllValid_Success - Passed in 2.282s
- ✅ EnglishAuctions_GetAuction_Success - Passed in 2.110s
- ✅ EnglishAuctions_GetBidBufferBps_Success - Passed in 1.579s
- ✅ EnglishAuctions_GetMinimumNextBid_Success - Passed in 2.430s
- ✅ EnglishAuctions_GetTotalCount_Success - Passed in 0.305s
- ✅ EnglishAuctions_GetWinner_Success - Passed in 0.303s
- ✅ EnglishAuctions_GetWinningBid_Success - Passed in 0.833s
- ✅ EnglishAuctions_IsWinningBid_Success - Passed in 0.297s
- ✅ GetContract_Success - Passed in 0.126s
- ✅ Offers_GetAll_Success - Passed in 2.072s
- ✅ Offers_GetAllValid_Success - Passed in 1.948s
- ✅ Offers_GetOffer_Success - Passed in 1.814s
- ✅ Offers_GetTotalCount_Success - Passed in 0.327s
- ✅ PackReadTests - 5/5 - Passed in 1.930s
- ✅ BalanceOf_Success - Passed in 0.304s
- ✅ Get_Success - Passed in 0.711s
- ✅ GetPackContents_Success - Passed in 0.299s
- ✅ IsApprovedForAll_Success - Passed in 0.301s
- ✅ TotalSupply_Success - Passed in 0.316s
- ✅ SmartWalletTests - 5/5 - Passed in 78.152s
- ✅ Connect_WithGaslessManagedAccountFactory_Success - Passed in 7.791s
- ✅ CreateSessionKey_WithValidSignerCheck_Success - Passed in 16.877s
- ✅ Deploy_WithSign_Success - Passed in 14.618s
- ✅ IsDeployed_Success - Passed in 14.400s
- ✅ RevokeSessionKey_WithValidSignerCheck_Success - Passed in 24.466s
- ✅ StorageTests - 11/11 - Passed in 8.702s
- ✅ DownloadImage_WithIPFS_Success - Passed in 2.429s
- ✅ DownloadImage_WithoutIPFS_Success - Passed in 0.414s
- ✅ DownloadText_WithIPFS_Success - Passed in 0.183s
- ✅ DownloadText_WithoutIPFS_Success - Passed in 0.769s
- ✅ Gateway_WithClientId_Success - Passed in 0.112s
- ✅ Gateway_WithoutClientId_Success - Passed in 0.125s
- ✅ Gateway_WithOverride_Success - Passed in 0.120s
- ✅ UploadFromPath_WithClientId_Success - Passed in 0.516s
- ✅ UploadFromPath_WithoutClientId_Fail - Passed in 3.010s
- ✅ UploadText_WithClientId_Success - Passed in 0.896s
- ✅ UploadText_WithoutClientId_Fail - Passed in 0.127s
- ✅ ThirdwebManagerTests - 8/8 - Passed in 7.785s
- ✅ Initialization_HappyPath - Passed in 0.114s
- ✅ Initialization_WithClientIdAndBundleIdOverride_AppliesCorrectly - Passed in 0.125s
- ✅ Initialization_WithClientIdNoBundleIdOverride_AppliesCorrectly - Passed in 0.120s
- ✅ Initialization_WithDefaultChain_Success - Passed in 0.136s
- ✅ Initialization_WithRpcOverride_AppliesCorrectly - Passed in 0.118s
- ✅ Initialization_WithUnknownChain_ConnectsButFails - Passed in 7.150s
- ✅ Initialization_WithUnsupportedActiveChain_Throws - Passed in 0.011s
- ✅ SingletonPattern_Enforcement_Success - Passed in 0.010s
- ✅ TransactionReadTests - 1/1 - Passed in 0.352s
- ✅ Static_WaitForTransactionResult_Success - Passed in 0.352s
- ✅ WalletTests - 15/15 - Passed in 119.543s
- ✅ Authenticate_WithLocalWallet_Success - Passed in 8.494s
- ✅ Connect_WithLocalWallet_Fail - Passed in 13.666s
- ✅ Connect_WithLocalWallet_Success - Passed in 6.896s
- ✅ Disconnect_WithLocalWallet_Success - Passed in 7.631s
- ✅ Export_WithLocalWallet_Success - Passed in 13.672s
- ✅ GetAddress_WithLocalWallet_Fail - Passed in 6.899s
- ✅ GetAddress_WithLocalWallet_Success - Passed in 6.880s
- ✅ GetBalance_WithLocalWallet_Success - Passed in 7.102s
- ✅ GetChainId_WithLocalWallet_Success - Passed in 7.432s
- ✅ IsConnected_WithLocalWallet_Fail - Passed in 0.131s
- ✅ IsConnected_WithLocalWallet_Success - Passed in 7.675s
- ✅ SendRawTransaction_WithLocalWallet_Fail - Passed in 9.364s
- ✅ Sign_WithLocalWallet_Success - Passed in 7.381s
- ✅ Transfer_WithLocalWallet_Fail - Passed in 9.001s
- ✅ Verify_WithLocalWallet_Success - Passed in 7.318s
Annotations
Check failure on line 97 in Assets/Tests/ERC20ReadTests.cs
github-actions / Test Results
ERC20ReadTests.ERC20_TotalSupply_Success
System.AggregateException : One or more errors occurred. (Value was either too large or too small for a Decimal.)
----> System.OverflowException : Value was either too large or too small for a Decimal.
Raw output
at ERC20ReadTests+<ERC20_TotalSupply_Success>d__8.MoveNext () [0x000b5] in /github/workspace/Assets/Tests/ERC20ReadTests.cs:97
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in ./Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
--OverflowException
at System.Numerics.BigInteger.op_Explicit (System.Numerics.BigInteger value) [0x00014] in <8234a40670204ce4ae60efcc6a6678db>:0
at Thirdweb.Utils.FormatERC20 (System.String wei, System.Int32 decimalsToDisplay, System.Int32 decimals, System.Boolean addCommas) [0x0001b] in /github/workspace/Assets/Thirdweb/Core/Scripts/Utils.cs:112
at Thirdweb.ERC20.TotalSupply () [0x001ce] in /github/workspace/Assets/Thirdweb/Core/Scripts/ERC20.cs:152
Loading