You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Floats cannot be used in Wasm contracts that are running on blockchains due to the non-determinism. The way to prevent it is to disallow Wasm that has floats, by inspecting it before execution. Unfortunately, in some cases AssemblyScript that does not use floats can compile to Wasm that uses floats, e.g. when formatting strings. Our blockchain uses both AssemblyScript and Rust for smart contracts and floats are causing significant issues for us because AssemblyScript prevents us from disabling floats. I think it is a high priority for AssemblyScript to fix it, since the blockchains constitute a very large user-base of AssemblyScript and Wasm.