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

fix: remove getChainIdBySpecName and add caching system #288

Merged
merged 9 commits into from
Sep 19, 2023

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Sep 19, 2023

This removes the util function getChainIdBySpecName and replaces it with a class method in the registry called lookupChainIdBySpecName which now caches values that have been searched.

Part 2 of this PR will handle the empty string which is returned by adding a validation layer for the destId, and originId

@TarikGul TarikGul requested a review from bee344 September 19, 2023 17:18
Copy link
Contributor

@bee344 bee344 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job

@TarikGul TarikGul merged commit abb5052 into main Sep 19, 2023
7 checks passed
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.

2 participants