Skip to content

Tracer returns incorrect result if two contracts have the same name #135

@ferranbt

Description

@ferranbt

Bug Description

The tracer uses the output from forge debug to generate the traces. In that output, there is a mapping of contract address to contract name. But, if more than one contract use the same name, Solstice does not know how to pick which one to use.

Steps to Reproduce

Run a trace session in a workspace that imports more than one contract with the same name.

Operating System

Mac (Apple Silicon)

Solstice Version

main

Tracer Related

  • This error is related to the tracer

Screenshots or Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions