From c4f3537b02811a7487655c02e6685195dff46b0a Mon Sep 17 00:00:00 2001 From: Vadim Macagon Date: Mon, 10 Dec 2018 20:37:58 +0700 Subject: [PATCH] Add RawDump to StateDB interface --- core/vm/interface.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/vm/interface.go b/core/vm/interface.go index fc15082f18..d6d4e917d6 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -20,6 +20,7 @@ import ( "math/big" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/types" ) @@ -27,6 +28,8 @@ import ( type StateDB interface { CreateAccount(common.Address) + RawDump() state.Dump + SubBalance(common.Address, *big.Int) AddBalance(common.Address, *big.Int) GetBalance(common.Address) *big.Int