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

Implement display trait for ResourceId #133

Closed
wants to merge 3 commits into from

Conversation

Nutomic
Copy link
Contributor

@Nutomic Nutomic commented Apr 19, 2023

For tangle-network/relayer#387. You can see the tests for examples how the resources are rendered. Im open for suggestions how to improve that.

@shekohex
Copy link
Collaborator

Well this overall good for debugging, however, it is not good for filtering information, by nature the resource Ids are designed to be machine readable, easy to decode and encode, but not designed to be readable by us, humans; Hence tangle-network/relayer#387 Task was trying to open the idea of how we could make the metrices system dynamic and at the same time human readable, so that we can represent it to the Relayer operator.

@Nutomic
Copy link
Contributor Author

Nutomic commented Apr 20, 2023

Okay I changed these to debug impls (replacing derived ones) and removed the tests. Will implement metrics like you suggested in the other PR.

@shekohex shekohex closed this Jun 1, 2023
@shekohex shekohex deleted the felix/display-resource-id branch June 1, 2023 16:03
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

Successfully merging this pull request may close these issues.

3 participants