ethereum / evmone

Fast Ethereum Virtual Machine implementation
Apache License 2.0
863 stars 285 forks source link

EIP-7702: Make EXTCODE* return sentinel values for delegated accounts #1072

Open gumb0 opened 1 week ago

gumb0 commented 1 week ago

Based on #961

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 97.82609% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.40%. Comparing base (dcdb8c8) to head (a40c1a2).

Files with missing lines Patch % Lines
lib/evmone/instructions_calls.cpp 90.90% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## eip-7702 #1072 +/- ## ============================================ - Coverage 94.24% 93.40% -0.84% ============================================ Files 159 159 Lines 17445 17448 +3 ============================================ - Hits 16441 16298 -143 - Misses 1004 1150 +146 ``` | [Flag](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [eof_execution_spec_tests](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `17.61% <39.13%> (-0.07%)` | :arrow_down: | | [ethereum_tests](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `26.06% <26.08%> (-0.05%)` | :arrow_down: | | [ethereum_tests_silkpre](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `18.81% <25.00%> (-0.03%)` | :arrow_down: | | [execution_spec_tests](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `?` | | | [unittests](https://app.codecov.io/gh/ethereum/evmone/pull/1072/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `89.42% <97.82%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/ethereum/evmone/pull/1072?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [lib/evmone/instructions.hpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=lib%2Fevmone%2Finstructions.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-bGliL2V2bW9uZS9pbnN0cnVjdGlvbnMuaHBw) | `100.00% <100.00%> (+0.60%)` | :arrow_up: | | [test/state/host.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=test%2Fstate%2Fhost.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC9zdGF0ZS9ob3N0LmNwcA==) | `100.00% <100.00%> (ø)` | | | [test/state/host.hpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=test%2Fstate%2Fhost.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC9zdGF0ZS9ob3N0LmhwcA==) | `100.00% <ø> (ø)` | | | [test/state/state.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=test%2Fstate%2Fstate.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC9zdGF0ZS9zdGF0ZS5jcHA=) | `94.35% <ø> (-4.66%)` | :arrow_down: | | [test/state/state.hpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=test%2Fstate%2Fstate.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC9zdGF0ZS9zdGF0ZS5ocHA=) | `100.00% <100.00%> (ø)` | | | [test/unittests/state\_transition\_eip7702\_test.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=test%2Funittests%2Fstate_transition_eip7702_test.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC91bml0dGVzdHMvc3RhdGVfdHJhbnNpdGlvbl9laXA3NzAyX3Rlc3QuY3Bw) | `100.00% <100.00%> (ø)` | | | [lib/evmone/instructions\_calls.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/1072?src=pr&el=tree&filepath=lib%2Fevmone%2Finstructions_calls.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-bGliL2V2bW9uZS9pbnN0cnVjdGlvbnNfY2FsbHMuY3Bw) | `97.90% <90.90%> (-0.34%)` | :arrow_down: | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/ethereum/evmone/pull/1072/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum)