EVMHost: use evmc::MockedHost

This commit is contained in:
Alex Beregszaszi 2019-11-21 22:19:37 +00:00
parent 4d2f205706
commit 1718250248

View File

@ -21,6 +21,7 @@
#pragma once
#include <test/evmc/mocked_host.hpp>
#include <test/evmc/evmc.hpp>
#include <test/evmc/evmc.h>
@ -34,7 +35,7 @@ namespace test
{
using Address = h160;
class EVMHost: public evmc::Host
class EVMHost: public evmc::MockedHost
{
public:
/// Tries to dynamically load libevmone. @returns nullptr on failure.