evmone
evmone copied to clipboard
New API prototype: StateView
The prototype of the new API for evmone. It uses the test runners as users and modifies the State API from state.h.
- the user provides read-only
StateViewinterface with (simpler thanState) representation of the State. - the transaction execution (i.e. evmone via
transition()) takes theStateViewand producesStateDiff. - user must apply the
StateDiffto itsStateViewimplementation.
Codecov Report
Attention: 265 lines in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
master@e4bcf7c). Click here to learn what that means.
Additional details and impacted files
@@ Coverage Diff @@
## master #802 +/- ##
=========================================
Coverage ? 32.40%
=========================================
Files ? 110
Lines ? 9862
Branches ? 0
=========================================
Hits ? 3196
Misses ? 6666
Partials ? 0
| Flag | Coverage Δ | |
|---|---|---|
| blockchaintests | 59.88% <ø> (?) |
|
| statetests | 63.14% <95.71%> (?) |
|
| statetests-silkpre | 25.50% <31.17%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files | Coverage Δ | |
|---|---|---|
| test/blockchaintest/blockchaintest.hpp | 0.00% <ø> (ø) |
|
| test/state/account.hpp | 100.00% <100.00%> (ø) |
|
| test/state/host.cpp | 100.00% <100.00%> (ø) |
|
| test/state/mpt_hash.cpp | 100.00% <100.00%> (ø) |
|
| test/state/mpt_hash.hpp | 100.00% <ø> (ø) |
|
| test/state/state.hpp | 100.00% <100.00%> (ø) |
|
| test/statetest/statetest_loader.cpp | 78.54% <100.00%> (ø) |
|
| test/statetest/statetest_runner.cpp | 69.23% <100.00%> (ø) |
|
| test/unittests/state_transition.hpp | 0.00% <ø> (ø) |
|
| test/utils/utils.cpp | 68.00% <100.00%> (ø) |
|
| ... and 13 more |