-
Notifications
You must be signed in to change notification settings - Fork 149
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
Multiple errors when using custom Stacks API #5996
Comments
Another note is that, when creating the network, I get an error "Cannot determine ChainID from node". This error happens if I specify mainnet and testnet4 as the Bitcoin network. It seems to work if I select regtest or testnet3. When it works, it shows 0 Stacks balance, which I'm guessing is because it's querying an SPXXX (mainnet) address due to chainID stuff. |
@camerow let's prioritize this during the current cycle given its relation to sBTC? |
Yeah, agreed. Calling in the big gun: @alter-eggo |
@alter-eggo resurfacing |
@hstove can you please tell what urls you provide here? |
I was using |
@hstove are there other url I can use to check? |
@alter-eggo how's progress going here, do you need me to help track down any more information? |
@camerow I cannot replicate the issue without url to test 🤔 |
Hey @alter-eggo @camerow , I was able to find a different network's URL that repros the problem: https://api.nakamoto-2.hiro.so |
Thank you @hstove! |
Multiple errors when using custom Stacks API
Multiple errors when using custom Stacks API
hm, it's not event possible to add network with such url
|
Do we need to add a configuration to allow different chain IDs then, or can we infer it by calling the API? |
Yep you can infer it from the URL, |
@kyranjamie maybe call the api (url/v2/info) and check if network id is there? if yes - validation passed? |
fixed validation here: #6093 |
I've been trying to use Leather (6.54.0) with Nakamoto Testnet, but I've hit two different errors.
One, when switching to an existing network I've configured before for Nakamoto Testnet, I get this right after clicking the network in the network switching dialogue:
And then I can add a new Nakamoto Testnet, which gets me past that error, but I get this error when I try and submit a transaction:
The text was updated successfully, but these errors were encountered: