-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Simbolik fails when it runs into a vm.envOr(...) cheat code.
Simbolik doesn't have access to environment variables, due to its client-server architecture, and copying env vars from the user system to mock a server environment may impose security risks. For example, consider an env var that contains some private keys - we certainly don't want to expose them anywhere.
In the case of vm.envOr, however, we could always return the default value given in the second argument.
This is needed, for example, to debug Optimism's EthLockbox.t.sol contracts (and most tests that inherit from CommonTest).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels