This commit is contained in:
i-norden 2023-02-22 19:02:28 -06:00
parent a65746510c
commit fbc22540f7

View File

@ -8,6 +8,26 @@ import (
"github.com/ethereum/temp/common" "github.com/ethereum/temp/common"
) )
/*
The portions of the EVM we want to leverage only use the following methods:
GetBalance
Snapshot
Exist
CreateAccount
SubBalance
AddBalance
GetCode
GetCodeHash
RevertToSnapshot
GetNonce
SetNonce
AddAddressToAccessList
SetCode
The rest can be left with panics for now
*/
var _ vm.StateDB = &StateDB{} var _ vm.StateDB = &StateDB{}
type StateDB struct { type StateDB struct {