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

Forge Test cache #299

Closed
crisgarner opened this issue Dec 23, 2021 · 4 comments
Closed

Forge Test cache #299

crisgarner opened this issue Dec 23, 2021 · 4 comments
Assignees
Labels
C-forge Command: forge Cmd-forge-test Command: forge test P-high Priority: high T-bug Type: bug

Comments

@crisgarner
Copy link
Contributor

If a test passes and the code of the contract is changed, the test keeps using a cache version not reflecting the changes. Current small fix is doing small changes to the test code to refresh the cache.

Seems like an issue related to ethers-solc

@dimitri0101
Copy link
Contributor

Hello, I have seen too. Any idea for fix @gakonst ?

@mattsse
Copy link
Member

mattsse commented Dec 25, 2021

thanks @crisgarner @dimitri0101 for this, can you link me to a repo where I can reproduce this?

If a test passes and the code of the contract is changed, the test keeps using a cache version not reflecting the changes.

Is this a test contract that is stored outside of the ./contracts or ./src directory, in ./tests maybe?

@onbjerg
Copy link
Member

onbjerg commented Mar 22, 2022

Do we still have this bug @mattsse? I can't seem to repro

@mattsse
Copy link
Member

mattsse commented Mar 22, 2022

that's very outdated and no longer an issue, closing

@mattsse mattsse closed this as completed Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge Cmd-forge-test Command: forge test P-high Priority: high T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

5 participants