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

feat(tx-submitter): Add L1 Block Growth Monitoring Feature #632

Merged
merged 10 commits into from
Nov 13, 2024

Conversation

WorldDogs
Copy link
Contributor

  • Add BlockMonitor struct to monitor L1 block growth
  • Integrate BlockMonitor into the Rollup struct to perform L1 health checks
  • Add CLI flag and configuration option to set the block growth threshold
  • Implemente related test cases to validate the block growth monitoring feature

@WorldDogs WorldDogs requested a review from a team as a code owner November 8, 2024 06:48
@WorldDogs WorldDogs requested review from yunxu1 and removed request for a team November 8, 2024 06:48
@WorldDogs WorldDogs added tx-submitter Tx-submitter update go Pull requests that update Go code labels Nov 8, 2024
- Add a mutex to ensure thread-safe access to latestBlockTime
- Implement SetLatestBlockTime and GetLatestBlockTime methods
- Update StartMonitoring and IsGrowth methods to use new thread-safe accessors
curryxbo
curryxbo previously approved these changes Nov 11, 2024
@WorldDogs WorldDogs merged commit 36a6656 into main Nov 13, 2024
2 checks passed
@WorldDogs WorldDogs deleted the add_l1_block_increase_monitor branch November 13, 2024 06:51
@WorldDogs WorldDogs mentioned this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code tx-submitter Tx-submitter update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants