Open 314159265359879 opened 1 year ago
Another case like this today, this is what the user sees
This "unknown" is what tells me there is a connection issue. I don't think they are connected to the network that has the contract they are trying to call. I would love to resolve issues like this with something like this enhancement: https://github.com/leather-wallet/extension/issues/4194
They are calling this contract: ST1DSHOG45GZGGDJP3YVDEXTY4X2ZA89CKB5CZ6PK.winged-feet-xbtc-erko-vault-v0-3 The user says they deployed it to the public hiro testnet, but when I check that I do not see it:
https://explorer.hiro.so/address/ST1DSHOG45GZGGDJP3YVDEXTY4X2ZA89CKB5CZ6PK?chain=testnet The address looks unused even.
I thought they may have been using the local devnet instead, unknowingly perhaps.
A user is calling this contract via the explorer sandbox with these arguments https://explorer.hiro.so/sandbox/contract-call/ST2GW18TVQR75W1VT53HYGBRGKFRV5BFYNAYRBHF4.Cerulean-marketplace-v1/create-gig?chain=testnet artist address = ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM , amount = 5 , period = 144, job-title = Blog
And they get this error.
Their console displays this error instrument.js:152 POST https://api.testnet.hiro.so/v2/transactions 400 (Bad Request) got 400 Bad request error in console
I am unable to reproduce the error and I can confirm transactions with those arguments or similar ones. https://explorer.hiro.so/txid/0x8dd75d6de6e37c9072cec7d3ac9568bb8c1133709c7d3dff1498b1be7cb33314?chain=testnet
I find this odd, not sure if it is related to the wallet because on the confirm screen I do see "Blog" as the argument. On the explorer the argument looks blank.
I also can't explain why the user is getting this:
I assume some kind of disconnect between the dapp and wallet (are they both on the correct testnet?). The user says they have tried disconnecting and reconnecting with several accounts but no there was no change.
Secondly malformed json could be due to unexpected inputs. The user has tried several but keeps ending up with the same error.
Does anyone have any other thoughts what this could be due to? The user is creating an issue on the explorer repo so we can cross link.
Leather Wallet version 6.9.1