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

Unable to confirm transaction request on devnet #4821

Closed
Aman-zishan opened this issue Jan 18, 2024 · 16 comments · Fixed by #4832
Closed

Unable to confirm transaction request on devnet #4821

Aman-zishan opened this issue Jan 18, 2024 · 16 comments · Fixed by #4832
Assignees
Labels
area:transaction-signing area:transactions bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds

Comments

@Aman-zishan
Copy link
Contributor

unable to confirm transaction, gets a fee estimation error in extension console

Screenshot 2024-01-18 at 11 30 19 AM
  • browser - chrome
  • network - devnet
  • contract call used to work until yesterday noon
@314159265359879
Copy link
Contributor

Hi @Aman-zishan this looks a lot like your extension and dapp are not connecting to the same network. Try signing out on the dapp. Setting your extension to the devnet and selecting the account you want to sign in with.
Then connect to the dapp again, and try to confirm the transaction again.

@Aman-zishan
Copy link
Contributor Author

Aman-zishan commented Jan 18, 2024

Hi @314159265359879 , i followed your steps and i'm getting the same error, i am using micro-stacks in most of my contract calls, so im setting the network directly then and i also checked if it is pointing to the right network. seems like it is, the dapp network switch is working fine as i tried with testnet as selected network option and wallet shows testnet in the confirmation page. Although i did not check if the tx is being confirmed in testnet / mainnet and if this is an issue with only the devnet

@314159265359879
Copy link
Contributor

@Aman-zishan does the wallet still allow you to proceed with a custom fee?

@Aman-zishan
Copy link
Contributor Author

Aman-zishan commented Jan 18, 2024

Screenshot 2024-01-18 at 3 08 16 PM

@314159265359879
this is the screen

@314159265359879
Copy link
Contributor

@kyranjamie we expect the fee options to still appear, when fee can't be determined, right? so the user can at least set a custom fee or is that different when operating on devnet?

I guess if none of the devnet API's can be reached it will not matter much because then the wallet will error on "insufficient balance to cover fees" next.

@Aman-zishan
Copy link
Contributor Author

Aman-zishan commented Jan 18, 2024

@kyranjamie we expect the fee options to still appear, when fee can't be determined, right? so the user can at least set a custom fee or is that different when operating on devnet?

I guess if none of the devnet API's can be reached it will not matter much because then the wallet will error on "insufficient balance to cover fees" next.

@314159265359879 i agree on this, in given scenario a fee field could make matters much easier rather than a dead end, how can i fix this issues i have been stuck at this and cannot proceed with my development

@314159265359879
Copy link
Contributor

I am not sure how to resolve this.
@Aman-zishan can you work around this issue by using the public Hiro testnet instead?
image

@Aman-zishan
Copy link
Contributor Author

@314159265359879 testnet is extremely slow for vigorous development flow atleast for now, so unless i have developed the entire flow i dont think testing via testnet is a great idea, that's why devnet development was much easier for such development practices, at this point we particularly depends on devnet

@obycode
Copy link

obycode commented Jan 18, 2024

I have seen this issue as well. As a workaround, I have been submitting transactions via stacks.js instead of through the wallet, for my testing.

@ryanwaits
Copy link

I have seen this issue as well. As a workaround, I have been submitting transactions via stacks.js instead of through the wallet, for my testing.

im starting to get this error when using stacks.js as a workaround
Screenshot 2024-01-18 at 4 39 53 PM

@natebuch
Copy link

Experiencing the same issues. Confirmation window has sBTC devenv selected and unable to change. Extension is set to devnet.

@sabbyanandan
Copy link

@markmhendrickson: At your convenience, please have a look at this. Any education would be helpful.

@markmhendrickson markmhendrickson added bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds area:transaction-signing area:transactions labels Jan 19, 2024
@markmhendrickson markmhendrickson changed the title Unable to confirm transaction request Unable to confirm transaction request on devnet Jan 19, 2024
@obycode
Copy link

obycode commented Jan 19, 2024

im starting to get this error when using stacks.js as a workaround

In stacks.js, you can hard-code a fee in the options object so that it doesn't rely on the fee estimation endpoint.

@fbwoolf fbwoolf assigned fbwoolf and unassigned kyranjamie Jan 20, 2024
fbwoolf added a commit that referenced this issue Jan 20, 2024
@fbwoolf fbwoolf linked a pull request Jan 20, 2024 that will close this issue
@sabbyanandan
Copy link

@fbwoolf: Thank you for the fix!

@Aman-zishan: Perhaps you can try out the extension built off of the PR and share your findings here or in the PR for validation.

@Aman-zishan
Copy link
Contributor Author

Aman-zishan commented Jan 21, 2024

@sabbyanandan the fix works well thanks!, thank you for the fix @fbwoolf , i'll keep an eye here to see when it is going to be merged so that i can switch to production version

@fbwoolf
Copy link
Contributor

fbwoolf commented Jan 21, 2024

Merging this into our dev branch today, but we still need to release it to the app stores. Watch for the new release for the fix.

kyranjamie pushed a commit that referenced this issue Jan 22, 2024
## [6.24.0](v6.23.0...v6.24.0) (2024-01-22)

### Features

* use radix tooltip ([aa8a530](aa8a530))

### Bug Fixes

* fee estimation error, ref [#4821](#4821) ([9b75521](9b75521))
* home action btns hover state ([c270868](c270868))
* send inscription form fee flow ([ee9728d](ee9728d))
* tooltip logic ([2ae8cf0](2ae8cf0))

### Internal

* audit colours, update token package, brown becomes ink ([c82c612](c82c612))
* button and link, ref [#4418](#4418) and [#4523](#4523) ([7d75f4a](7d75f4a))
* fix icon padding, ref [#4693](#4693) ([fbd8c11](fbd8c11))
* fix validate custom network name field on form submission, closes [#4737](#4737) ([63e6a94](63e6a94))
* post-release merge back ([0930968](0930968))
* update network tests ([ab1fb5b](ab1fb5b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:transaction-signing area:transactions bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants