ethereum / evmone

Fast Ethereum Virtual Machine implementation
Apache License 2.0
865 stars 287 forks source link

test: Allow `"to": null` in JSON transaction #927

Closed chfast closed 5 months ago

chfast commented 5 months ago

Fixes https://github.com/ethereum/evmone/issues/923.

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 95.15%. Comparing base (d95893c) to head (d3ceaef).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #927 +/- ## ======================================= Coverage 95.15% 95.15% ======================================= Files 140 140 Lines 15796 15805 +9 ======================================= + Hits 15030 15039 +9 Misses 766 766 ``` | [Flag](https://app.codecov.io/gh/ethereum/evmone/pull/927/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/927/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `15.86% <27.27%> (-0.01%)` | :arrow_down: | | [ethereum_tests](https://app.codecov.io/gh/ethereum/evmone/pull/927/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `26.61% <27.27%> (-0.01%)` | :arrow_down: | | [ethereum_tests_silkpre](https://app.codecov.io/gh/ethereum/evmone/pull/927/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `18.46% <27.27%> (-0.01%)` | :arrow_down: | | [execution_spec_tests](https://app.codecov.io/gh/ethereum/evmone/pull/927/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `17.94% <27.27%> (-0.01%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/ethereum/evmone/pull/927/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `90.27% <100.00%> (+<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](https://app.codecov.io/gh/ethereum/evmone/pull/927?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [test/statetest/statetest\_loader.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/927?src=pr&el=tree&filepath=test%2Fstatetest%2Fstatetest_loader.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC9zdGF0ZXRlc3Qvc3RhdGV0ZXN0X2xvYWRlci5jcHA=) | `96.87% <100.00%> (+0.01%)` | :arrow_up: | | [test/unittests/statetest\_loader\_tx\_test.cpp](https://app.codecov.io/gh/ethereum/evmone/pull/927?src=pr&el=tree&filepath=test%2Funittests%2Fstatetest_loader_tx_test.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-dGVzdC91bml0dGVzdHMvc3RhdGV0ZXN0X2xvYWRlcl90eF90ZXN0LmNwcA==) | `100.00% <100.00%> (ø)` | |