-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
op-proposer: add l2 block height metrics #5189
op-proposer: add l2 block height metrics #5189
Conversation
|
✅ Deploy Preview for opstack-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
df536c0
to
8df017b
Compare
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.
Awesome to see this coming!
As @trianglesphere remarked, please follow the pattern in #5167 and create a op-proposer/metrics
package, with a noop
implementation, etc.
Also please reuse the RefMetrics
from op-service/metrics
, like in the batcher metrics.
Thanks @sebastianst and @trianglesphere for the guidance. I will make those changes similar to other packages and send out another revision. :) |
2d8587c
to
43519a2
Compare
the |
Hey @sebastianst @trianglesphere, how do I get these two failing tests to pass? want to make sure I make this PR merge ready. |
bedrock-markdown test is failing because we do a link check & there is a dead link. That is why main is failing. We can ignore those tests. The rest of the tests which actually tests these changes are passing. |
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.
I've confirmed that these work in the local devnet. Really nice work with this.
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.
Looks great now ✨ just that one import should be reordered.
perfect. just pushed both changes. |
This PR has been added to the merge queue, and will be merged soon. |
This PR is next in line to be merged, and will be merged as soon as checks pass. |
1 similar comment
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
op-proposer
which emits the latest proposed block heightTests
Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.
Invariants
For changes to critical code paths, please list and describe the invariants or key security properties of your new or changed code.
Additional context
Add any other context about the problem you're solving.
Metadata