Skip to main content

Module ext

Module ext 

Source

StructsΒ§

BackwardsCompatTomlProvider πŸ”’
A Provider that handles breaking changes in toml files
DappEnvCompatProvider πŸ”’
A provider that checks for DAPP_ env vars that are named differently than FOUNDRY_
DappHardhatDirProvider πŸ”’
A provider that sets the src and output path depending on their existence.
FallbackProfileProvider
Extracts the profile from the profile key and sets unset values according to the fallback provider
ForcedSnakeCaseData πŸ”’
A Provider that ensures all keys are snake case if they’re not standalone sections. See Config::STANDALONE_SECTIONS
LegacyLabelsProvider πŸ”’
Adapts deprecated labels from arbitrary external providers.
NormalizeSymbolicProvider πŸ”’
NormalizeTracingProvider πŸ”’
OptionalStrictProfileProvider πŸ”’
Extracts the profile from the profile key and using the original key as backup, merging values where necessary
RenameProfileProvider πŸ”’
Renames a profile from from to to.
TomlFileProvider πŸ”’
A convenience provider to retrieve a toml file. This will return an error if the env var is set but the file does not exist
UnwrapProfileProvider πŸ”’
Unwraps a profile reducing the key depth
WrapProfileProvider πŸ”’
Wraps a profile in another profile

TraitsΒ§

ProviderExt πŸ”’

FunctionsΒ§

merge_missing πŸ”’
Recursively fills missing values while preserving values from the higher-precedence source.
merge_tracing_labels πŸ”’
normalize_legacy_labels πŸ”’
normalize_legacy_labels_in_profile πŸ”’
normalize_symbolic_section πŸ”’
Moves the standalone symbolic section into the selected profile before inherited configs are merged.
normalize_tracing_section πŸ”’
Moves the standalone tracing section into the selected profile before inherited configs are merged. The deprecated standalone labels section remains in place for warning generation and is normalized again after inheritance is resolved.
snake_case_profile_keys πŸ”’
Converts the top-level config keys in a profile value to snake_case.