aboutsummaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/vm.h b/vm.h
index ddc6ddb3..632aa996 100644
--- a/vm.h
+++ b/vm.h
@@ -41,12 +41,12 @@ namespace dev { namespace test {
struct FakeExtVMFailure : virtual Exception {};
-class FakeState: public eth::State
-{
-public:
- /// Execute a contract-creation transaction.
- h160 createNewAddress(Address _newAddress, Address _txSender, u256 _endowment, u256 _gasPrice, u256* _gas, bytesConstRef _code, Address _originAddress = {}, eth::SubState* o_sub = nullptr, eth::Manifest* o_ms = nullptr, eth::OnOpFunc const& _onOp = {}, unsigned _level = 0);
-};
+//class FakeState: public eth::State
+//{
+//public:
+// /// Execute a contract-creation transaction.
+// h160 createNewAddress(Address _newAddress, Address _txSender, u256 _endowment, u256 _gasPrice, u256* _gas, bytesConstRef _code, Address _originAddress = {}, eth::SubState* o_sub = nullptr, eth::Manifest* o_ms = nullptr, eth::OnOpFunc const& _onOp = {}, unsigned _level = 0);
+//};
class FakeExtVM: public eth::ExtVMFace
{
@@ -82,7 +82,7 @@ public:
void importCallCreates(json_spirit::mArray& _callcreates);
eth::OnOpFunc simpleTrace();
- FakeState state() const { return m_s; }
+ //FakeState state() const { return m_s; }
std::map<Address, std::tuple<u256, u256, std::map<u256, u256>, bytes>> addresses;
eth::Transactions callcreates;
@@ -91,7 +91,7 @@ public:
u256 gas;
private:
- FakeState m_s;
+ //FakeState m_s;
eth::Manifest m_ms;
};