hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

feat: calculate `logsBloom` for synthetic transactions

Open natanasow opened this issue 7 months ago • 4 comments

Description: Currently with our synthetic transactions, which are constructed on the fly using events from the operations, we don't return adequate and real logsBloom. This might be a problem for some tools, which requires logsBloom for their operation.

Solution:

We can easily calculate logsBloom for each receipt, this can be done, by taking a look at how it's implemented in the javascript execution client for Ethereum here

Related issue(s):

Fixes #2664

Notes for reviewer:

Checklist

  • [ ] Documented (Code comments, README, etc.)
  • [ ] Tested (unit, integration, etc.)

natanasow avatar Aug 02 '24 08:08 natanasow