Skip to content
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

Testnet Option Not Working Due to Decommissioned Testnet #52

Open
antonkazachenko opened this issue Mar 13, 2024 · 0 comments
Open

Testnet Option Not Working Due to Decommissioned Testnet #52

antonkazachenko opened this issue Mar 13, 2024 · 0 comments

Comments

@antonkazachenko
Copy link

antonkazachenko commented Mar 13, 2024

Hey there!

I added some code to log the raw response from the API, and to my surprise, I got a message saying the Cardano testnet network has been decommissioned. Here's the snippet where I logged the response in the AddressUTXOs function:

bodyBytes, err := io.ReadAll(res.Body)
if err != nil {
    return nil, err
}
bodyString := string(bodyBytes)
fmt.Println(bodyString)

And here's the message I got:
{"status_code":400,"error":"Bad Request","message":"Cardano testnet network has been decommissioned."}

I initially thought this was an issue with the library, but then I realized it was just the API response to my request. Maybe we could update the library or its documentation to give a heads up about the testnet situation? It could save others some time and confusion.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant