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

Add compression for receipts #1735

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

stevenlanders
Copy link
Contributor

Describe your changes and provide context

  • adds zlib compression for receipts
  • if we change algorithm later, we can do that without breaking

Testing performed to validate your change

  • added unit tests, local testing, load testing

Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 68.00000% with 24 lines in your changes missing coverage. Please review.

Project coverage is 60.94%. Comparing base (0a83cdb) to head (f3bd274).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1735      +/-   ##
==========================================
+ Coverage   60.90%   60.94%   +0.04%     
==========================================
  Files         371      374       +3     
  Lines       27472    27544      +72     
==========================================
+ Hits        16732    16788      +56     
- Misses       9596     9605       +9     
- Partials     1144     1151       +7     
Files Coverage Δ
x/evm/keeper/receipt.go 68.42% <66.66%> (ø)
utils/compression/snappy.go 83.33% <83.33%> (ø)
utils/compression/zlib.go 59.09% <59.09%> (ø)
utils/compression/compress.go 65.62% <65.62%> (ø)

... and 1 file with indirect coverage changes

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