sei-protocol / sei-chain

Apache License 2.0
2.67k stars 797 forks source link

Add evm rpc endpoint debug_traceCall #1692

Closed yzang2019 closed 1 month ago

yzang2019 commented 1 month ago

Describe your changes and provide context

This PR add a new EVM rpc endpoint debug_traceCall: https://docs.chainstack.com/reference/ethereum-tracecall

Testing performed to validate your change

Added unit test

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 60.70%. Comparing base (382b11f) to head (20338dc).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1692/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/1692?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 #1692 +/- ## ======================================= Coverage 60.70% 60.70% ======================================= Files 368 368 Lines 26958 26966 +8 ======================================= + Hits 16364 16371 +7 + Misses 9482 9481 -1 - Partials 1112 1114 +2 ``` | [Files](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1692?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) | Coverage Δ | | |---|---|---| | [evmrpc/tracers.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1692?src=pr&el=tree&filepath=evmrpc%2Ftracers.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-ZXZtcnBjL3RyYWNlcnMuZ28=) | `100.00% <100.00%> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1692/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)