mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use evmone for testing.
This commit is contained in:
@@ -15,6 +15,7 @@ add_executable(isoltest
|
||||
IsolTestOptions.cpp
|
||||
../Options.cpp
|
||||
../Common.cpp
|
||||
../EVMHost.cpp
|
||||
../TestCase.cpp
|
||||
../libsolidity/util/BytesUtils.cpp
|
||||
../libsolidity/util/ContractABIUtils.cpp
|
||||
@@ -26,7 +27,6 @@ add_executable(isoltest
|
||||
../libsolidity/AnalysisFramework.cpp
|
||||
../libsolidity/SolidityExecutionFramework.cpp
|
||||
../ExecutionFramework.cpp
|
||||
../RPCSession.cpp
|
||||
../libsolidity/ABIJsonTest.cpp
|
||||
../libsolidity/ASTJSONTest.cpp
|
||||
../libsolidity/SMTCheckerJSONTest.cpp
|
||||
|
||||
@@ -142,7 +142,7 @@ DEFINE_PROTO_FUZZER(Contract const& _input)
|
||||
|
||||
// We target the default EVM which is the latest
|
||||
langutil::EVMVersion version = {};
|
||||
EVMHost hostContext(version, evmone);
|
||||
EVMHost hostContext(version, &evmone);
|
||||
|
||||
// Deploy contract and signal failure if deploy failed
|
||||
evmc::result createResult = deployContract(hostContext, byteCode);
|
||||
|
||||
Reference in New Issue
Block a user