Skip to content

Commit

Permalink
fix: remove double caching for ProviderAPI.config (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed May 6, 2024
1 parent 29cfde4 commit 267e6fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ape/api/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def decode_block(self, data: Dict) -> "BlockAPI":
:class:`~ape.api.providers.BlockAPI`
"""

@cached_property
@property
def config(self) -> PluginConfig:
"""
The configuration of the ecosystem. See :class:`ape.managers.config.ConfigManager`
Expand Down Expand Up @@ -821,7 +821,6 @@ def config(self) -> PluginConfig:
The configuration of the network. See :class:`~ape.managers.config.ConfigManager`
for more information on plugin configurations.
"""

return self.config_manager.get_config(self.ecosystem.name)

@property
Expand Down

0 comments on commit 267e6fe

Please sign in to comment.