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

dev: Make routing generic #118

Open
akhercha opened this issue Aug 9, 2024 · 0 comments
Open

dev: Make routing generic #118

akhercha opened this issue Aug 9, 2024 · 0 comments

Comments

@akhercha
Copy link
Member

akhercha commented Aug 9, 2024

Current Behavior

For the endpoints:

  • get_entry
  • onchain/get_entry
  • onchain/get_history
    We use a routing mechanism, allowing us to find alternatives routes for a pair. The code is really similar and currently just repeated in the 3 modules.

Expected Behavior

We should make it unique so it works for the 3 use cases (using a Trait?).

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