Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we should remove the dependency for translucent in Utils #20

Open
joacohoyos opened this issue Dec 26, 2023 · 0 comments
Open

we should remove the dependency for translucent in Utils #20

joacohoyos opened this issue Dec 26, 2023 · 0 comments

Comments

@joacohoyos
Copy link
Contributor

Sometimes to use some utility functions you need to instantiate a new instance just to do translucent.utils.<whatever>.

This is inconvenient and ideally would be done under a namespace or just free functions that you can import anywhere.

Checking what's translucent needed inside the utils class, it's only being used to get the network setting.
This could be fixed by passing the network as an extra parameter and decoupling the utility functions from any instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant