reth icon indicating copy to clipboard operation
reth copied to clipboard

eth_sendRawTransactionConditional L2 RPC endpoint

Open hamdiallam opened this issue 11 months ago • 0 comments
trafficstars

Describe the feature

The eth_sendRawTransactionConditional endpoint is implemented in op-geth and live on OPM. This endpoint is becoming a blocked for broader 4337 adoption on chains like Base as op-reth is used in production.

We should get this implemented in this client as well. See the diff in 4337 improvements

  1. Conditional type, checks against header & state
  2. Sequencer RPC. (ratelimit, conditional check prior to mempool submission)
  3. Conditional checks prior to block inclusion when blockbuilding
  4. Tx Rejection -> Rejection from mempool as well
  5. Filter from p2p tx gossip

Although (6) filters conditional txs from p2p gossip, this will be implemented as a followup between op-geth/op-reth to remove the need for a broadcast to all possible block builders

Additional context

Related op-geth PRs:

  • https://github.com/ethereum-optimism/op-geth/pull/330
  • https://github.com/ethereum-optimism/op-geth/pull/377
  • https://github.com/ethereum-optimism/op-geth/pull/414

hamdiallam avatar Dec 20 '24 17:12 hamdiallam