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

About usage of floating point in the oracle script #25

Open
zicofish opened this issue Jun 25, 2024 · 0 comments
Open

About usage of floating point in the oracle script #25

zicofish opened this issue Jun 25, 2024 · 0 comments

Comments

@zicofish
Copy link

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?

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

No branches or pull requests

1 participant