Skip to content

Fixing issue related to vm.deployCode() in sandbox scripts#19

Open
imadarchid wants to merge 1 commit intosmartcontractkit:mainfrom
imadarchid:main
Open

Fixing issue related to vm.deployCode() in sandbox scripts#19
imadarchid wants to merge 1 commit intosmartcontractkit:mainfrom
imadarchid:main

Conversation

@imadarchid
Copy link

This is a small fix to prevent errors when running fct-init and other commands that require the execution of sandbox scripts (and also tests I suspect).

I have added a unchecked_cheatcode_artifacts = true to the project's foundry.toml.

The issue occurs because foundry now only fetches artifacts of contracts that are under src (more on this here: foundry-rs/foundry#7569 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant