Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added TinyRlp encoding for bloom filter and logs #1117

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jigarparmar519
Copy link

Description

This PR enhances the encoding process for EVM log receipts by introducing the usage of TinyRlp for a more efficient representation of data.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Contents

Implemented encoding enhancement using TinyRlp for bloom filter and logs.

Rationale

The previous encoding process for bloom filters and logs in EVM log receipts was inefficient and verbose. By introducing TinyRlp, we reduce code size and improve readability while maintaining the integrity of the data. This change aligns with our goal of improving the efficiency and maintainability of the codebase.

How Has This Been Tested?

This change has been tested locally by encoding various EVM log receipts with different configurations of bloom filters and logs. Unit tests have been added to verify the correctness of the encoding process and ensure that the data remains intact after encoding.


Please give a concise description of your PR.

The target readers could be future developers, reviewers, and auditors. By reading your description, they should easily understand the changes proposed in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant