Module env

Module env 

Source
Expand description

Implementations of Environment cheatcodes.

StaticsΒ§

FORGE_CONTEXT
Stores the forge execution context for the duration of the program.

FunctionsΒ§

env πŸ”’
env_array πŸ”’
env_array_default πŸ”’
env_default πŸ”’
get_env πŸ”’
map_env_err πŸ”’
Converts the error message of a failed parsing attempt to a more user-friendly message that doesn’t leak the value.
set_execution_context
Set forge command current execution context for the duration of the program. Execution context is immutable, subsequent calls of this function won’t change the context.