Skip to content

we should remove the dependency for translucent in Utils #20

@joacohoyos

Description

@joacohoyos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions