Add RawDump to StateDB interface

This commit is contained in:
Vadim Macagon 2018-12-10 20:37:58 +07:00
parent bab696378c
commit c4f3537b02

View file

@ -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