erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.15k stars 1.13k forks source link

TxPool: txpool_content must not return blob txs #12864

Open AskAlexSharov opened 18 hours ago

AskAlexSharov commented 18 hours ago

I see geth does:

func (p *BlobPool) Content() (map[common.Address][]*types.Transaction, map[common.Address][]*types.Transaction) {
    return make(map[common.Address][]*types.Transaction), make(map[common.Address][]*types.Transaction)
}
func (p *BlobPool) ContentFrom(addr common.Address) ([]*types.Transaction, []*types.Transaction) {
    return []*types.Transaction{}, []*types.Transaction{}
}
func (p *BlobPool) Locals() []common.Address {
    return []common.Address{}
}

Seems same need for: txpool_contentFrom and txpool_locals