About usage of floating point in the oracle script
Opened this issue · 0 comments
zicofish commented
Hi, while reading the documentation, I found the usage of f64
in the following oracle script example:
https://docs.bandchain.org/core-concepts/oracle-webassembly
You mentioned that your script is run on-chain instead of off-chain, but Cosmos cosmwasm doesn't support floating points because they are not safe. So I was wondering what's the trick with Owasm? Is the script really run on chain, or there might be misunderstanding of concepts from my side?