Closed
Description
Initially reported on Telegram: https://t.me/c/2274028871/184
To allow for vm.readFile, Foundry requires one to add something like
fs_permissions = [
{ access = "read-write", path = "./" },
]
to one's foundry.toml. How do we achieve this in Hardhat 3?
Setting fs_permissions
for the readFile
cheatcode is supported in the underlying Solidity Test library (i.e. EDR's Solidity Test). However, it is not currently being exposed in hardhat.config.{js,ts}
.
We need to update Hardhat 3's Solidity Test config to allow specifying fs permissions.
Metadata
Metadata
Assignees
Type
Projects
Status
Done