This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
obront - LES transactions are not sent to the sequencer #101
Labels
Non-Reward
This issue will not receive a payout
Sponsor Disputed
The sponsor disputed this issue's validity
obront
medium
LES transactions are not sent to the sequencer
Summary
LES (Light Ethereum Subprotocol) doesn't forward the transaction to the sequencer when receiving it over RPC.
Vulnerability Detail
When a user submits a transaction to op-geth node (validator/verifier mode), the node sends the transaction to the sequencer, which adds it to the tx pool.
However, in LES mode, It only adds the transaction to the tx pool.
Impact
Code Snippet
https://github.com/ethereum-optimism/op-geth/blob/optimism-history/les/api_backend.go#L193-L195
https://github.com/ethereum-optimism/op-geth/blob/optimism-history/eth/api_backend.go#L253-L264
Tool used
Manual Review
Recommendation
Match this RPC change in the LES RPC.
Ref: https://op-geth.optimism.io/
Additional notes
This finding is inspired by issue #175 in the previous contest. It exists in the repository defined in-scope for the contest and the judge's comment justifying medium severity applies.
This was an oversight on Optimism's part and there are markers that would suggest it should be in scope.
Furthermore, it definitely seems like Optimism wishes to support LES mode, as the
les
directory has been updated 3 weeks ago.The text was updated successfully, but these errors were encountered: