Skip to content

Conversation

aodhgan
Copy link

@aodhgan aodhgan commented Oct 2, 2025

New RPC method eth_sendRawTransactionSync(rawTx, timeoutMs?) that submits a signed tx and blocks until a receipt is available or a timeout elapses.

Two CLI flags to tune server-side limits:

--rpc.txsync.default (default wait window)

--rpc.txsync.max (upper bound; requests are clamped)

Event-driven approach: subscribe to chain head events and re-check receipt on each new head.

Adds a short “settle” cycle after each head to bridge indexing lag; interval derived from the effective timeout (timeout/20, clamped to [25ms, 500ms]).

Success/timeout unit tests added.

closes #32094

@aodhgan aodhgan changed the title feat(rpc): add eth_SendRawTransactionSync internal/ethapi: add eth_SendRawTransactionSync Oct 2, 2025
@fjl fjl assigned s1na Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants