sei-protocol / sei-chain

Apache License 2.0
2.67k stars 797 forks source link

[EVM] Add transient receipts with eventual flush to store #1742

Closed stevenlanders closed 5 days ago

stevenlanders commented 1 week ago

Describe your changes and provide context

Testing performed to validate your change

codecov[bot] commented 6 days ago

Codecov Report

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

Project coverage is 60.91%. Comparing base (6e9257d) to head (7876601).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742/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/1742?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 #1742 +/- ## ========================================== + Coverage 60.88% 60.91% +0.02% ========================================== Files 372 373 +1 Lines 26832 27116 +284 ========================================== + Hits 16337 16517 +180 - Misses 9403 9488 +85 - Partials 1092 1111 +19 ``` | [Files](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?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/keeper.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=x%2Fevm%2Fkeeper%2Fkeeper.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0va2VlcGVyL2tlZXBlci5nbw==) | `49.73% <100.00%> (+0.27%)` | :arrow_up: | | [x/evm/keeper/msg\_server.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=x%2Fevm%2Fkeeper%2Fmsg_server.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0va2VlcGVyL21zZ19zZXJ2ZXIuZ28=) | `76.17% <100.00%> (ø)` | | | [x/evm/module.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=x%2Fevm%2Fmodule.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0vbW9kdWxlLmdv) | `55.88% <100.00%> (ø)` | | | [x/evm/types/keys.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=x%2Fevm%2Ftypes%2Fkeys.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0vdHlwZXMva2V5cy5nbw==) | `23.25% <ø> (ø)` | | | [app/test\_helpers.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=app%2Ftest_helpers.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-YXBwL3Rlc3RfaGVscGVycy5nbw==) | `60.16% <92.30%> (+1.87%)` | :arrow_up: | | [app/app.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=app%2Fapp.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-YXBwL2FwcC5nbw==) | `66.23% <70.00%> (+<0.01%)` | :arrow_up: | | [x/evm/keeper/receipt.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?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=) | `60.71% <66.66%> (-7.71%)` | :arrow_down: | | [app/test\_state\_store.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742?src=pr&el=tree&filepath=app%2Ftest_state_store.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-YXBwL3Rlc3Rfc3RhdGVfc3RvcmUuZ28=) | `65.85% <65.85%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1742/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)