Skip to content

Compilation fails when lib.name and package.name are different #221

Description

@ii-ii-ii

When I set lib.name to be different from package.name, I get this error.

ERROR: Loading original wasm file 'erc20/contracts/target/ink/wasm32-unknown-unknown/release/erc20.wasm'

Caused by:
    Can't read from the file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
An unexpected error occurred:

I want to know if the compiled wasm file name is [package.name].wasm or [lib.name].wasm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions