-
Notifications
You must be signed in to change notification settings - Fork 358
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
feat(adapters): Add Hyperlane #287
Conversation
please fix typescript errors |
@vrtnd done 👌 |
@vrtnd anything we could do to get a review from you here? |
src/utils/adapter.ts
Outdated
@@ -117,7 +117,7 @@ export const runAdapterToCurrentBlock = async ( | |||
console.warn(`[WARN] No recorded blocks data for ${bridgeDbName}. Error: ${e.message}`); | |||
} | |||
|
|||
const adapter = adapters[bridgeDbName]; | |||
const adapter = await adapters[bridgeDbName]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add adapter.isAsync field and await only in this case
@vrtnd would something like this work? |
No description provided.