-
Notifications
You must be signed in to change notification settings - Fork 1.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
eth_sendRawTransactionConditional L2 RPC endpoint #13488
Comments
Hello! Can I take this if it is still available? |
@oac1771 yes! feel free to take a stab at it |
@oac1771 since this an optimism specific extension I'd like to add the API trait to like |
we already have the conditonal options type alloy-rs/alloy#1823 |
I see, then we can add the extension trait to alloy's rpc-api crate instead |
Since it's common to have active/passive sequencer setups, it would be great if we could also consolidate the gossip mechanism for these conditional txs to avoid having to broadcast to all replicas. With it being upstreamed into reth, all L2 clients could leverage this. I can put some more detailed thoughts but my thinking is to have a node flag to enable/disable p2p conditional tx gossip. When enabled, using a separate message to gossip these txs from the existing ones to separate concerns (the conditional is not apart of the rlp serialized tx) |
Can I take this from here? |
@aidenwong812, I am still working on this |
Hey @hamdiallam, I am a bit confused on the scope of this issue and wanted to clarify. It seems like the rpc endpoint for this has been defined here, but it doesnt seem like the |
Would love to tackle this! |
May I try my hand at this? |
Hello @mattsse, do you have any idea on this? Thanks! |
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
Although (5) 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:
The text was updated successfully, but these errors were encountered: