Skip to content

Commit

Permalink
docs: verb
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 23, 2024
1 parent e8dcc4f commit 686a819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ape/api/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ def providers(self): # -> dict[str, Partial[ProviderAPI]]
provider_name = clean_plugin_name(provider_class.__module__.split(".")[0])
is_custom_with_config = self._is_custom and self.default_provider_name == provider_name
# NOTE: Custom networks that are NOT from config must work with any provider.
# Also, ensure we are only added forked providers for forked networks and
# Also, ensure we are only adding forked providers for forked networks and
# non-forking providers for non-forked networks. For custom networks, it
# can be trickier (see last condition).
# TODO: In 0.9, add a better way for class-level ForkedProviders to defines
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_network_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def test_providers_custom_network(project, custom_networks_config_dict, ethereum
def test_providers_custom_non_fork_network_does_not_use_fork_provider(
mocker, project, custom_networks_config_dict, ethereum
):
# NOTE: Have to a mock a Fork providers since none ship with Ape core.
# NOTE: Have to a mock a Fork provider since none ship with Ape core.
with project.temp_config(**custom_networks_config_dict):
network = ethereum.apenet
network.__dict__.pop("providers", None) # de-cache
Expand Down

0 comments on commit 686a819

Please sign in to comment.