-
Notifications
You must be signed in to change notification settings - Fork 21
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
When I deploy a contract, Oasis reports " Execution failed with error: module: contracts code: 30 message: module uses floating point data or operations"" #1569
Comments
I change the libsecp256k1 to k256, the same problem happens.
|
try to minimize the scope with the following code
Some new points:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to deploy a ecdsa signer contract on oasis. In this contract, private_key is stored in ConfidentialCell and public_key is stored in PublicCell.
Compile with "cargo build --target wasm32-unknown-unknown --release" works as expected. But when try to upload the wasm, it reports "Error: Execution failed with error: module: contracts code: 30 message: module uses floating point data or operations".
How to fix this problem?
The source code is below
The Cargo.toml as below
The text was updated successfully, but these errors were encountered: