Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix library reference substitution and regular expression matching for both contracts and libraries #16

Merged
merged 8 commits into from
Sep 9, 2024

Commits on Sep 4, 2024

  1. fix: update regex in sourcePathFromSourceCode to match contracts and …

    …libraries
    
    Updated the regular expression in the sourcePathFromSourceCode function to account for both `contract` and `library` declarations. This resolves an issue where library definitions were not being matched, causing the function to return `null`. The new RegExp now looks for both `contract` and `library` keywords.
    juliopavila committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5cb8078 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    effb14d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f02184 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. refact: suggestion here is to keep buildArtifact lean, and do the res…

    …olving on a higher level
    cristovaoth committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    71f753e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c5c272 View commit details
    Browse the repository at this point in the history
  3. feat: refactor getBuildArtifact

    juliopavila authored and cristovaoth committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ab84a61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    080731c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df8a837 View commit details
    Browse the repository at this point in the history