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
{{ message }}
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
This affects production BSC RPC providers who need to expose txpool_content for their users. The method is documented as available but crashes in practice.
Bug Description
The
txpool_contentRPC method crashes with error code -32000 "method handler crashed" when called on a BSC mainnet archive node running Erigon v1.4.3.Environment
--prune.mode archive)--http.api eth,debug,net,trace,web3,erigon,txpoolSteps to Reproduce
Expected Behavior
The method should return transaction pool content with pending, baseFee, and queued transactions, similar to:
{ "jsonrpc": "2.0", "id": 1, "result": { "pending": {...}, "baseFee": {...}, "queued": {...} } }Actual Behavior
The method crashes and returns:
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"method handler crashed"}}Additional Context
txpool_statusreturns:{"pending":"0x3e7","baseFee":"0x0","queued":"0x80"}Content()method implementation inrpc/jsonrpc/txpool_api.goapi.db.BeginTemporalRo(ctx)- database handle initialization issuenewRPCPendingTransaction()- transaction formatting bugImpact
This affects production BSC RPC providers who need to expose txpool_content for their users. The method is documented as available but crashes in practice.
Code Reference
Implementation: https://github.com/node-real/bsc-erigon/blob/v1.4.3/rpc/jsonrpc/txpool_api.go#L48-L115