-
Notifications
You must be signed in to change notification settings - Fork 952
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
Remix IDE freezes when a contract call error occurs #5327
Comments
@0xcodefive Do you face this error while using remix desktop application? Also can you share steps to reproduce? |
No. I believe the problem is related to the latest version. Since remix desktop version is 0.55.0, and the browser version is 0.56.0
The error can be repeated even if you cancel the transaction from the wallet. I will describe one of the examples that is easy to repeat.
As a result, an error will appear in the browser console, and other calls will not take place in the ide. Absolutely any call that fails causes the ide to freeze. To be more precise, the interface itself is working, all buttons are available all input fields are available. When the blockchain is changed, the wallet balance is updated. However, the connection between the ide and the blockchain is lost. Any call does not go through the blockchain. Apparently, protection against a repeat transaction is triggered until the previous one is completed. But there is an outlier from the execution cycle, as a result of which the ide believes that the transaction has not completed yet. |
This error is not observed in Firefox 115.16.1esr |
@Aniket-Engg
After that, no other transactions that require confirmation in the Metamask will be performed until the timeout timer is triggered:
Console log:
|
@Aniket-Engg It seems that the error has been found, please fix it as soon as possible: #5337 |
hello @0xcodefive this is the deploy preview for the fix https://deploy-preview-5337--remixproject.netlify.app/ |
or can you post the contract code of |
Hello @yann300
Error on browser console
As far as I understand, any error is not returned from the provider to the UI Remix _Storage.sol:
|
you don't have any issue with the Remix VM right? |
No. Moreover, the error is not repeated in version 0.55.0-dev. I have checked on three different PC, they all catch the error in Windows and Chrome |
Thank you |
Now a pop-up message appears. However, the error is not displayed in the console. Please try to deploy this contract for testing
from console UI
from browser console
|
Describe the bug
When I try to call a contract function that returns an error, Remix IDE execution freezes (from https://remix.ethereum.org/). It doesn't matter what the error is, even with the banal incorrect Owner during the call. Previously, during such a call, a pop-up message with the error out of gas popped up. And the returned error was written to the ide console if, for example,
revert
contains its description.Log output to the ide console:
Log output to the browser console:
After that, the ide freezes for 42 blocks (if I'm not confused). At the same time, any other calls are queued, but nothing happens.
Desktop
Important note
There is no such problem in desktop version 0.55.0-dev for Windows
The text was updated successfully, but these errors were encountered: