Closed AoDev closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because no activity occured in 7 days after being marked as stale. If it's still relevant - feel free to reopen. Thank you for your contributions.
Current Behavior
While technically not a bug, we currently have some dramatic issues on the frontend side because crypto algorithms are blocking the javascript main thread. This results in relatively bad UX when the UI becomes unresponsive during the calls.
One specific situation is when we are instantiating contracts when the provider changes.
Expected Behavior
No blocking UI / JS main thread.
Possible Solution
Maybe there is something that can be done on the abi-gen side? Have you already a solution for this? Maybe these calls could run in web workers.