Skip to content

fix: Improve logging and fix function #132

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

raffaele-oplabs
Copy link
Contributor

@raffaele-oplabs raffaele-oplabs commented Mar 4, 2025

Description

Reason of the change:
It may happen that one of the backend L2 nodes does not have historical data that we need to retrieve. We can now pass also a sequence of L2 backup nodes that can be used in case the query to the main trusted node fails.

This change also drops the use of op-node in favor of op-geth.
To maintain compatibility with previous version, will ignore op-node if passed.

This pull request introduces several updates and improvements to the op-monitorism/faultproof_withdrawals module, focusing on deprecating certain flags, adding support for backup URLs, and enhancing monitoring and logging capabilities.

Deprecation and Documentation Updates:

New Features:

Code Enhancements:

Monitoring and Metrics:

Tests

Additional context

Metadata

…ithdrawals

- Switch from GetOutputRootFromTrustedL2Node to GetOutputRootFromCalculation
- Enhance error messages with more context for block numbers
- Add debug print for output root calculation
- Update client references from l2OpNodeClient to l2OpGethClient
@raffaele-oplabs raffaele-oplabs requested a review from a team as a code owner March 4, 2025 18:01
…-geth together with and merkle trie verification
- Introduce L2GethBackupURLs CLI flag to specify backup L2 execution layer client URLs
- Implement GethBackupClientsDictionary to create and validate backup clients
- Update CLIConfig, Monitor, and OpNodeHelper to support backup client functionality
- Add node connections metric to track total node connection attempts
- Enhance error handling and logging for backup client retrieval
@raffaele-oplabs raffaele-oplabs added the bug Something isn't working label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant