ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.96k stars 2.18k forks source link

Pass options to EVMC class constructor instead of using globally set options #5875

Closed gumb0 closed 4 years ago

gumb0 commented 4 years ago

This is a preparation for https://github.com/ethereum/aleth/pull/5855 where EVMC class is used not only for EVM, but also for precompiles, and EVMC options from command line shouldn't be set to precompiles VM.

codecov-io commented 4 years ago

Codecov Report

Merging #5875 into master will decrease coverage by 0.03%. The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5875      +/-   ##
==========================================
- Coverage   63.96%   63.93%   -0.04%     
==========================================
  Files         365      365              
  Lines       31093    31098       +5     
  Branches     3441     3441              
==========================================
- Hits        19890    19882       -8     
- Misses       9972     9980       +8     
- Partials     1231     1236       +5