Skip to content

Fix migration for contract with non-default constructor #11

@apanichella

Description

@apanichella

The current code automatically generates the file 2_deploy_contracts.js based on the name of the contract (*.sol file) to consider for test case generation. It works perfectly for contracts with a default constructor.

However, it does not work for contracts whose constructor has parameters (e.g., addresses). Those parameters should be added as additional parameters for the method deployer.deploy(...) in the generated 2_deploy_contracts.js file.

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