-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
"Fork locally" breaks UI completely #10738
Comments
I don't have a huge in depth knowledge of chopsticks, so I am not completely sure why it is failing. cc @qiweiii That being said happy to add a disable option for Fork Locally if that would help. |
Could be need to update its version. I should add some tests so this can be detected in ci. |
Update chopsticks version did not work, but fortunately local forks still work for other chains. May need to take some time to fix this issue. Meanwhile @nazar-pc to recover from white screen, another solution is to remove localFork field in dev tool -> application -> localStorage So there are 2 things to fix/check
|
The linked pr will solve this. For subspace chain, local fork won't be able to support it, since the Runtime Version include extra field, and that will fail in smoldot (chopsticks use smoldot as wasm executor), and it's unlikely they will allow custom fields |
Right, I think that is the smallest issue, we have a completely different consensus that wouldn't work with Smalldot anyway, so disabling that feature for such chains makes sense to me. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
I'm submitting a ...
What is the current behavior and expected behavior?
Try to open https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-0.gemini-3h.subspace.network%2Fws#/explorer or https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-1.gemini-3h.subspace.network%2Fws#/explorer and click "Fork Locally".
Not quite sure what that is, but after that the whole UI turns into blank white screen and I see following in the console:
This seems to come from Polkadot.js apps itself (likely somewhere in WASM) and possibly caused by the fact that we have an extra field in our
RuntimeVersion
data structure, but it worked before and I don't understand why would it break the whole UI completely.Opening another tab doesn't help, the only thing that helps is to specify a different endpoint of some chain in URL manually so it "forgets" what it was trying to do.
At very least I would have expected for UI to not break irrecoverably.
The text was updated successfully, but these errors were encountered: