mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
EVMHost: use evmc::MockedHost
This commit is contained in:
parent
4d2f205706
commit
1718250248
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <test/evmc/mocked_host.hpp>
|
||||||
#include <test/evmc/evmc.hpp>
|
#include <test/evmc/evmc.hpp>
|
||||||
#include <test/evmc/evmc.h>
|
#include <test/evmc/evmc.h>
|
||||||
|
|
||||||
@ -34,7 +35,7 @@ namespace test
|
|||||||
{
|
{
|
||||||
using Address = h160;
|
using Address = h160;
|
||||||
|
|
||||||
class EVMHost: public evmc::Host
|
class EVMHost: public evmc::MockedHost
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// Tries to dynamically load libevmone. @returns nullptr on failure.
|
/// Tries to dynamically load libevmone. @returns nullptr on failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user