Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Use default FACTORY_ADDRESS if the chain is not in the map #160

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

mikeki
Copy link
Contributor

@mikeki mikeki commented Feb 16, 2024

Fix getAddress method

We made a change in #151 that now relies on a map of factory address, but the problem is that if we are trying to quote a chain that is not on that map, then we just error out.

This change is default to the previously unique factory_address when the chain of the token is not in the map

@mikeki mikeki requested review from marktoda, jsy1218 and hensha256 and removed request for marktoda February 16, 2024 21:48
@mikeki mikeki merged commit b64cd76 into main Feb 20, 2024
3 checks passed
@mikeki mikeki deleted the mikeki/use_default_factory branch February 20, 2024 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants