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

op-node,op-service: Add Timeout Flag for L2 Engine #13853

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

pengin7384
Copy link
Contributor

Description

This PR allows the timeout duration for op-geth RPC calls from op-node to be adjusted via a flag.

During the implementation, it was discovered that a 5-second timeout is set in the engine_forkchoiceUpdatedV3 call, while the BaseRPCClient has a default 10-second timeout. These overlapping timeout settings have also been removed.

For more details: #13852

Tests

Additional context

Metadata

@pengin7384 pengin7384 requested review from a team as code owners January 20, 2025 02:25
@pengin7384 pengin7384 requested a review from geoknee January 20, 2025 02:25
@pengin7384 pengin7384 changed the title L2 engine timeout Add Timeout Flag for L2 Engine Jan 20, 2025
@protolambda
Copy link
Contributor

/ci authorize d6b044a

These are good changes, thank you!

@protolambda protolambda changed the title Add Timeout Flag for L2 Engine op-service: Add Timeout Flag for L2 Engine Feb 4, 2025
@protolambda protolambda changed the title op-service: Add Timeout Flag for L2 Engine op-node,op-service: Add Timeout Flag for L2 Engine Feb 4, 2025
@protolambda protolambda added A-op-node Area: op-node A-op-service Area: op-service labels Feb 4, 2025
Add a new --l2.engine-rpc-timeout flag to configure the timeout duration for L2 Engine RPC calls. This allows for more flexible and explicit control over RPC call timeouts.
@protolambda
Copy link
Contributor

Rebased on latest develop to fix CI

@protolambda
Copy link
Contributor

/ci authorize 1bf4ef8

@protolambda protolambda added this pull request to the merge queue Feb 4, 2025
@protolambda protolambda removed the request for review from geoknee February 4, 2025 15:04
Merged via the queue into ethereum-optimism:develop with commit 3e9e692 Feb 4, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-node Area: op-node A-op-service Area: op-service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants