Skip to content

Uploading wasm file appear function non-existent error #364

@jeremymj

Description

@jeremymj

I want to use the signature verification method in my contract,and add dependency in cargo.toml as fellow:
schnorrkel = { version = "0.9.1",features = ["preaudit_deprecated", "u64_backend"], default-features = false}
using cargo contract build command can generate wasm file normally and uploading the wasm file to node, got some error message:

2020-03-22 22:13:36.028 tokio-blocking-driver DEBUG runtime  DispatchError
2020-03-22 22:13:36.028 tokio-blocking-driver DEBUG runtime  module imports a non-existent function

using cargo-contract version is 0.5.0 ;
node of substrate version is: version 2.0.0-alpha.4-0b3020796-x86_64-linux-gnu
more about reproduce code, please go to my repository example

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-questionFurther information is requestedE-blockedThe task is blocked on some other task to be finished.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions