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: handle early deposits #932

Merged
merged 5 commits into from
Sep 10, 2023
Merged

fix: handle early deposits #932

merged 5 commits into from
Sep 10, 2023

Conversation

mrice32
Copy link
Contributor

@mrice32 mrice32 commented Sep 10, 2023

No description provided.

james-a-morris and others added 4 commits September 10, 2023 19:10
Signed-off-by: Matt Rice <[email protected]>
This change imports from the correct directory rather than import from the dist directly.
Copy link
Contributor

@james-a-morris james-a-morris left a 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) =>
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@james-a-morris
Copy link
Contributor

LGTM

@mrice32 mrice32 merged commit 279fad9 into master Sep 10, 2023
2 checks passed
@pxrl pxrl deleted the early_deposits branch September 5, 2024 10:32
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