Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat(solc): make cache entries relative to root dir #1307

Merged
merged 2 commits into from
May 24, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 24, 2022

Motivation

store all paths relative in the cache file

  • cache entry objects relative to root, (can be in src, lib, etc..)
  • artifacts relative to artifacts output dir

Solution

strip paths before saving and join paths before loading

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit 95862bc into gakonst:master May 24, 2022
mattsse added a commit to mattsse/ethers-rs that referenced this pull request May 28, 2022
* feat(solc): make cache entries relative to root dir

* chore: update CHANGELOG
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants