sei-protocol / sei-chain

Apache License 2.0
2.67k stars 797 forks source link

Add compression for receipts #1735

Open stevenlanders opened 2 weeks ago

stevenlanders commented 2 weeks ago

Describe your changes and provide context

Testing performed to validate your change

codecov[bot] commented 2 weeks ago

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](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735/graphs/tree.svg?width=650&height=150&src=pr&token=DG7ZZJ3PVV&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) ```diff @@ 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](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) | Coverage Δ | | |---|---|---| | [x/evm/keeper/receipt.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?src=pr&el=tree&filepath=x%2Fevm%2Fkeeper%2Freceipt.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0va2VlcGVyL3JlY2VpcHQuZ28=) | `68.42% <66.66%> (ø)` | | | [utils/compression/snappy.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?src=pr&el=tree&filepath=utils%2Fcompression%2Fsnappy.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-dXRpbHMvY29tcHJlc3Npb24vc25hcHB5Lmdv) | `83.33% <83.33%> (ø)` | | | [utils/compression/zlib.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?src=pr&el=tree&filepath=utils%2Fcompression%2Fzlib.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-dXRpbHMvY29tcHJlc3Npb24vemxpYi5nbw==) | `59.09% <59.09%> (ø)` | | | [utils/compression/compress.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735?src=pr&el=tree&filepath=utils%2Fcompression%2Fcompress.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-dXRpbHMvY29tcHJlc3Npb24vY29tcHJlc3MuZ28=) | `65.62% <65.62%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1735/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)