Skip to content

About usage of floating point in the oracle script #25

@zicofish

Description

@zicofish

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions