You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(rpc): engine capabilities routing, tx-list gas overflow, and L1-origin row decoding (#220)
* fix(rpc): serve engine_exchangeCapabilities with the real capability list
The auth module previously did not route engine_exchangeCapabilities at
all (method-not-found for the driver), and the inner EngineApi was
configured with EngineCapabilities::default() -- reth's full ~23-method
list -- while TAIKO_ENGINE_CAPABILITIES sat unused. Route the method on
the Taiko engine trait and advertise exactly the three served methods.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(rpc): reject u64 overflow in txPoolContent combined gas limit
blockMaxGasLimit * maxTransactionsLists wrapped silently in release
builds (panicked in debug) since both are caller-supplied u64 params.
Use checked_mul and surface an invalid-params error instead.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(db): return DecompressError for truncated StoredL1Origin rows
decompress() fed DB bytes into fixed-size cursor reads that panic on
short input, so a corrupt row would crash the node instead of surfacing
a database error. Guard the fixed 202-byte layout length up front.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: harden tx-list allocation and L1-origin decoding
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: David <cai@Davids-MacBook-Pro.local>
0 commit comments