Merge pull request #6440 from ethereum/use-default-constructor-for-evm-version

Use default EVMVersion instead of a hard coded one
This commit is contained in:
chriseth 2019-04-02 12:10:00 +02:00 committed by GitHub
commit 7b0f7eb1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* _data, size_t _size)
return 0;
AssemblyStack stack(
EVMVersion::petersburg(),
langutil::EVMVersion(),
AssemblyStack::Language::StrictAssembly,
dev::solidity::OptimiserSettings::full()
);