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

Remove token_owner data structure #50

Open
llunaCreixent opened this issue Sep 20, 2023 · 0 comments
Open

Remove token_owner data structure #50

llunaCreixent opened this issue Sep 20, 2023 · 0 comments

Comments

@llunaCreixent
Copy link
Member

The token_owner data structure is not needed anywhere. Furthermore is currently storing the same data value twice (check https://github.com/CirclesUBI/pathfinder2/blob/feature/server_only/src/io.rs#L60). Also, is not necessary in the edges db computation because the value contained in token_owner is already present in the Safe data structure as well as the Balance (check https://github.com/CirclesUBI/pathfinder2/blob/feature/server_only/src/safe_db/db.rs#L8).

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