feat: implement eth_sendRawTransactionSync (EIP-7966) #1149
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1149"
general
weight: 0.35
thomas-nguy
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
Closes: #XXX
Description
Adds
eth_sendRawTransactionSync(EIP-7966). It submits a raw transaction and waits for its receipt. On timeout it returns error code4with the tx hash inerror.data. New[json-rpc]keys:receipt-wait-timeout(default20s),receipt-wait-max-timeout(1m),max-receipt-waiters(256).Design decisions
RPCStreamheader stream and look up the receipt once per block. A short bounded retry covers the indexer finishing slightly after the block event. This replaces a 200ms poll per waiter.4error with the hash, not go-ethereum's generic-32002. A small HTTP middleware sets the request context deadline toWriteTimeout, so later calls in a batch see only the time left.-32601before the tx is submitted.max-receipt-waitersis checked before submitting. When it's full, the call returns-32005and the tx is not broadcast.Known limitations
A tx that passes CheckTx but fails during block execution is never indexed, so the call times out with code
4.______
For contributor use:
docs/) or specification (x/<module>/spec/)godoccomments.Unreleasedsection inCHANGELOG.mdFiles changedin the Github PR explorer______
For admin use:
WIP,R4R,docs, etc)