Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

dapplescript environment usability issue #367

@nmushegian

Description

@nmushegian

If I have this workflow:

dapple chain new testfork
dapple script run Setup

then write a test which refers to an environment object mycontract

dapple test -r MyContractTest.t.sol

Now I push and the next dev tries to replicate the forked env:

dapple chain new testfork
dapple script run Setup

But it doesn't even compile because mycontract is not defined in Env!

I think this means the environment should be loaded as a mapping and not hoisted into the actual contract

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions