Skip to content

Using relative paths rather than absolute #300

@maxsam4

Description

@maxsam4

Currently, the path included in the event that is added by the instrumenter is an absolute path which can be huge.

Our instrumented contracts at https://github.com/PolymathNetwork/polymath-core have now become so big due to the absolute paths that they are failing to compile. They instrument and compile just fine if I move the project folder nearer to the root of the system as the absolute path becomes shorter.

I am not sure why absolute paths are currently being used over relative paths. I can provide a set of instrumented contracts that are failing to compile due to huge absolute path, if required.

Update: I have created a PR to fix this.

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