-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Labels
Priority: P1Added to issues and PRs relating to a high severity bugs.Added to issues and PRs relating to a high severity bugs.Type: BugAdded to issues and PRs if they are addressing a bugAdded to issues and PRs if they are addressing a bug
Description
Describe the bug
I set the data to buy the NFT based on the previously listed NFT, but I get a error.
@sneakzttv buy NFT is not in gaming dashboard, are we sure that this functionality is working? we can skip it otherwise for now.
Steps
Steps to reproduce the behavior:
- Use the scene [SampleLogin or SampleLogin - Web3Auth]
- Login with [Web3Auth or Remote wallet]
- Click on Purchase NFT button in Marketplace section
Expected behavior
Transaction is success and the NFT is owned by the new address
Console errors
FormatException: The value could not be parsed.
System.Numerics.BigNumber.ParseBigInteger (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) (at <4e334f13171643b6a8290d57ecc16bd7>:0)
System.Numerics.BigNumber.ParseBigInteger (System.String value, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) (at <4e334f13171643b6a8290d57ecc16bd7>:0)
System.Numerics.BigInteger.Parse (System.String value, System.Globalization.NumberStyles style, System.IFormatProvider provider) (at <4e334f13171643b6a8290d57ecc16bd7>:0)
System.Numerics.BigInteger.Parse (System.String value, System.Globalization.NumberStyles style) (at <4e334f13171643b6a8290d57ecc16bd7>:0)
System.Numerics.BigInteger.Parse (System.String value) (at <4e334f13171643b6a8290d57ecc16bd7>:0)
Scripts.EVM.Marketplace.Marketplace.PurchaseNft (System.String _marketplaceContract, System.String _itemId, System.String _amountToSend) (at ./Library/PackageCache/io.chainsafe.web3-unity.marketplace@8365aedec2/Runtime/Scripts/Marketplace/Marketplace.cs:377)
MarketplaceCalls.PurchaseNftFromMarketplace () (at Assets/Samples/web3.unity SDK/2.6.0/Web3.Unity Samples/Scripts/Scenes/SampleMain/Marketplace/MarketplaceCalls.cs:268)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <e307bbb467104258887a104f6151f183>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153)
UnityEngine.UnitySynchronizationContext.Exec () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:83)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)
Metadata
Metadata
Assignees
Labels
Priority: P1Added to issues and PRs relating to a high severity bugs.Added to issues and PRs relating to a high severity bugs.Type: BugAdded to issues and PRs if they are addressing a bugAdded to issues and PRs if they are addressing a bug