New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getTextDecodingError = 'TokenName is not hex-encoded: base16 #4236
Comments
Could you please show more code? What is |
I have managed to convert to Cardano wallet token name via
Ideally would be good if Plutus.V1.Ledger.Value fromString will handle this
|
Now I am encode token, but for some reason on balancing it encrypts it once more I have create unique market on start and eccode to base16 Now on token create method I find this utxo consume it and sand back,
seems it encode token name once more although in marketVal-current log - 4e46544d61726b6574706c616365
you could check sources: on |
Yep, that's correct. Plutus's It's unclear how |
Might be that I was running Cardano node from master (1.31.0), plutus apps points to 1.30 (b6ca519f97a0e795611a63174687e6bb70c9f752) on master cardano-node |
No, same issue on 1.30 , on another contract |
Closing this because of IntersectMBO/plutus-apps#192 and turned out the problem is on |
Got error on token minting and sending to own wallet
[pab:Warning:15473] [2021-11-22 22:09:08.04 UTC] WalletClientError "FailureResponse (Request {requestPath = (BaseUrl {baseUrlScheme = Http, baseUrlHost = \"localhost\", baseUrlPort = 8090, baseUrlPath = \"\"},\"/v2/wallets/b530fd5bb69e88f92e066ba40b4fae5b843dc7cb/transactions-balance\"), requestQueryString = fromList [], requestBody = Just ((),application/json;charset=utf-8), requestAccept = fromList [application/json;charset=utf-8,application/json], requestHeaders = fromList []), requestHttpVersion = HTTP/1.1, requestMethod = \"POST\"} (Response {responseStatusCode = Status {statusCode = 400, statusMessage = \"Bad Request\"}, responseHeaders = fromList [(\"Transfer-Encoding\",\"chunked\"),(\"Date\",\"Mon, 22 Nov 2021 22:09:07 GMT\"),(\"Server\",\"Warp/3.3.17\"),(\"Content-Type\",\"application/json;charset=utf-8\")], responseHttpVersion = HTTP/1.1, responseBody = \"{\\\"message\\\":\\\"Error in $.inputs[0].assets[0]['asset_name']: TextDecodingError {getTextDecodingError = 'TokenName is not hex-encoded: base16: input: invalid encoding at offset: 0'}\\\",\\\"code\\\":\\\"bad_request\\\"}\"})"
The text was updated successfully, but these errors were encountered: