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

Validators should check that they can compile wasm at startup. #761

Closed
Tracked by #2004
batconjurer opened this issue Nov 8, 2022 · 0 comments · Fixed by #2255
Closed
Tracked by #2004

Validators should check that they can compile wasm at startup. #761

batconjurer opened this issue Nov 8, 2022 · 0 comments · Fixed by #2255
Assignees

Comments

@batconjurer
Copy link
Member

On certain machines, the wasm compiler that is used isn't supported. Currently, the failure to compile wasm is only detected the first time a tx with wasm is sent to the ledger. Furthermore, the compilation error leads the validator to reject the state changes and thus its state diverges from other validators.

To mitigate this issue, on startup, validators should attempt to compile wasm to ensure it is supported on their machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants