foundry_cheatcodes

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_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 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.