diff options
Diffstat (limited to 'core/vm')
-rw-r--r-- | core/vm/interface.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/vm/interface.go b/core/vm/interface.go index 1ae98cf7a..fc15082f1 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -35,8 +35,6 @@ type StateDB interface { SetNonce(common.Address, uint64) GetCodeHash(common.Address) common.Hash - GetProof(common.Address) (ProofList, error) - GetStorageProof(common.Address, common.Hash) (ProofList, error) GetCode(common.Address) []byte SetCode(common.Address, []byte) GetCodeSize(common.Address) int @@ -80,11 +78,3 @@ type CallContext interface { // Create a new contract Create(env *EVM, me ContractRef, data []byte, gas, value *big.Int) ([]byte, common.Address, error) } - -// MerkleProof -type ProofList [][]byte - -func (n *ProofList) Put(key []byte, value []byte) error { - *n = append(*n, value) - return nil -} |