-
Notifications
You must be signed in to change notification settings - Fork 52
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: handle early deposits #932
Conversation
Signed-off-by: Matt Rice <[email protected]>
Signed-off-by: Matt Rice <[email protected]>
This change imports from the correct directory rather than import from the dist directly.
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.
Left one nit. I helped with typecasting & unit tests so a second approval may be in order. Otherwise, this code seems good & it passes on my integration tests locally
chainIdListForBundleEvaluationBlockNumbers | ||
); | ||
return (originClient["earlyDeposits"] as unknown as typechain.FundsDepositedEvent[]).filter( | ||
(deposit: typechain.FundsDepositedEvent) => |
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.
Nit: with the typecast above, do we need to specify this function param?
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.
@james-a-morris maybe not, but just in the interest of time, let's do this in a follow-up.
LGTM |
No description provided.