Skip to content

Commit

Permalink
chore: remove unused get_config_params function
Browse files Browse the repository at this point in the history
  • Loading branch information
tamtamchik committed Apr 24, 2024
1 parent 35a1660 commit ffbb200
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,22 +132,6 @@ def prompt_bool() -> Optional[bool]:
sys.stdout.write("Please respond with 'yes' or 'no'")


def get_config_params() -> Dict[str, str]:
if network_name() in ("goerli", "goerli-fork"):
import configs.config_goerli

ret = {x: globals()[x] for x in dir(configs.config_goerli) if not x.startswith("__")}
elif network_name() in ("sepolia", "sepolia-fork"):
import configs.config_sepolia

ret = {x: globals()[x] for x in dir(configs.config_sepolia) if not x.startswith("__")}
else:
import configs.config_mainnet

ret = {x: globals()[x] for x in dir(configs.config_mainnet) if not x.startswith("__")}
return ret


class ContractsLazyLoader:
@property
def lido_v1(self) -> interface.LidoV1:
Expand Down

0 comments on commit ffbb200

Please sign in to comment.