sei-protocol / sei-chain

Apache License 2.0
2.7k stars 805 forks source link

EVM gas price metrics #1697

Closed jewei1997 closed 4 months ago

jewei1997 commented 4 months ago

Describe your changes and provide context

emit metrics to pull EVM effective gas price per transaction. The EVM gas data will inform how we price gas on Sei.

Testing performed to validate your change

manual testing + existing tests

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.71%. Comparing base (06ef75e) to head (fedf337).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1697/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/1697?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 #1697 +/- ## ========================================== + Coverage 60.54% 60.71% +0.17% ========================================== Files 370 370 Lines 27279 27282 +3 ========================================== + Hits 16515 16564 +49 + Misses 9632 9582 -50 - Partials 1132 1136 +4 ``` | [Files](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1697?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/ante/fee.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1697?src=pr&el=tree&filepath=x%2Fevm%2Fante%2Ffee.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-eC9ldm0vYW50ZS9mZWUuZ28=) | `64.00% <100.00%> (+1.50%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1697/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)