hedera-json-rpc-relay
hedera-json-rpc-relay copied to clipboard
feat: calculate `logsBloom` for synthetic transactions
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.)