celo-org / op-geth

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Fix receipt decoding for calls to eth_getLogs #242

Closed piersy closed 1 month ago

piersy commented 1 month ago

We added a special receipt type for celo dynamic fee transactions that stores the base fee in the fee currency in the receipt, this makes it possible to calculate the gasPrice without needing state access, but we missed the flow for eth_getLogs because they use a different type to decode the receipts to avoid makeing the bloom filter.

So this adds support for decoding our added receipts in that flow.