Skip to content

Generate constructor even when not explicit in solidity #110

@kejace

Description

@kejace

If I omit the constructor in the solidity file, it still get's generated in the bytecode. However, the corresponding in purescript is not there. This is a typical use-case for deployments and could be confusing.

contract A {}

vs

contract B {
 constructor () public
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions