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

fet: l2-bridge-arb iterate over l1 #582

Merged
merged 26 commits into from
Jul 30, 2024
Merged

fet: l2-bridge-arb iterate over l1 #582

merged 26 commits into from
Jul 30, 2024

Conversation

sergeyWh1te
Copy link
Contributor

@sergeyWh1te sergeyWh1te commented Jul 10, 2024

Screenshot 2024-07-19 at 19 35 44 Screenshot 2024-07-19 at 19 39 26
  1. l2-bridge-arb iterates over l1 network
  2. It compares bridge balances at the same timestamps on l1 and l2 sides
  3. Moved findings from l2-bridge-eth to l2-bridge-arb. In other words, all checks happen here, in l2-bridge-arb
  4. Process all l2 blocks and their logs for detecting events

@sergeyWh1te sergeyWh1te force-pushed the fix-l1-provider-arb branch 22 times, most recently from 2c8ecc5 to 594dee0 Compare July 12, 2024 11:54
@sergeyWh1te sergeyWh1te marked this pull request as ready for review July 19, 2024 16:21
@sergeyWh1te sergeyWh1te requested a review from a team as a code owner July 19, 2024 16:21
Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

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

👍 left a few small comments


return result
},
{ delay: 750, maxTry: 10 },
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we introduce constants?

Copy link
Contributor

Choose a reason for hiding this comment

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

do we need seeds for l2 withdrawals?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seeds are needed for tests.

@sergeyWh1te sergeyWh1te merged commit f45e706 into main Jul 30, 2024
5 checks passed
@sergeyWh1te sergeyWh1te deleted the fix-l1-provider-arb branch July 30, 2024 10:49
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