-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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-node: Add admin_sequencerActive
RPC method
#6190
Conversation
|
✅ Deploy Preview for opstack-docs canceled.
|
Returns true if the node is actively sequencing, otherwise false. This is essentially a parallel with the `eth_mining` API from execution clients.
1a90420
to
ef9c209
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #6190 +/- ##
===========================================
- Coverage 44.69% 43.54% -1.15%
===========================================
Files 448 317 -131
Lines 29384 24646 -4738
Branches 691 0 -691
===========================================
- Hits 13132 10733 -2399
+ Misses 15182 12921 -2261
+ Partials 1070 992 -78
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM
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
Add
admin_sequencerActive
RPC method.Returns true if the node is actively sequencing, otherwise false. This is essentially a parallel with the
eth_mining
API from execution clients.Tests
Updated e2e tests for admin API to cover the new endpoint.
Metadata