aboutsummaryrefslogtreecommitdiffstats
path: root/chain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-01 08:18:13 +0800
committerobscuren <geffobscura@gmail.com>2014-11-01 08:18:13 +0800
commitc8438979a9c5c73bf68a132d5fd0325863ab454b (patch)
tree1792da4ffa92e3a225bd37079c0458ea4b101d23 /chain
parent141d3caabbfbebbbecac455462a40b6056aa3821 (diff)
parent394e0f60c20206c7f7c4c76551d11a2b14b23a4d (diff)
downloadgo-tangerine-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.gz
go-tangerine-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.zst
go-tangerine-c8438979a9c5c73bf68a132d5fd0325863ab454b.zip
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'chain')
-rw-r--r--chain/bloom9_test.go6
-rw-r--r--chain/helper_test.go10
2 files changed, 9 insertions, 7 deletions
diff --git a/chain/bloom9_test.go b/chain/bloom9_test.go
index b5a269504..863d0adee 100644
--- a/chain/bloom9_test.go
+++ b/chain/bloom9_test.go
@@ -3,12 +3,14 @@ package chain
import (
"testing"
- "github.com/ethereum/go-ethereum/vm"
+ "github.com/ethereum/go-ethereum/state"
)
func TestBloom9(t *testing.T) {
testCase := []byte("testtest")
- bin := LogsBloom([]vm.Log{vm.Log{testCase, [][]byte{[]byte("hellohello")}, nil}}).Bytes()
+ bin := LogsBloom([]state.Log{
+ {testCase, [][]byte{[]byte("hellohello")}, nil},
+ }).Bytes()
res := BloomLookup(bin, testCase)
if !res {
diff --git a/chain/helper_test.go b/chain/helper_test.go
index 59d1c4cca..642d19c95 100644
--- a/chain/helper_test.go
+++ b/chain/helper_test.go
@@ -4,11 +4,11 @@ import (
"container/list"
"fmt"
- "github.com/ethereum/go-ethereum/ethcrypto"
+ "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/ethutil"
- "github.com/ethereum/go-ethereum/ethwire"
"github.com/ethereum/go-ethereum/event"
+ "github.com/ethereum/go-ethereum/wire"
)
// Implement our EthTest Manager
@@ -53,14 +53,14 @@ func (tm *TestManager) StateManager() *StateManager {
func (tm *TestManager) EventMux() *event.TypeMux {
return tm.eventMux
}
-func (tm *TestManager) Broadcast(msgType ethwire.MsgType, data []interface{}) {
+func (tm *TestManager) Broadcast(msgType wire.MsgType, data []interface{}) {
fmt.Println("Broadcast not implemented")
}
-func (tm *TestManager) ClientIdentity() ethwire.ClientIdentity {
+func (tm *TestManager) ClientIdentity() wire.ClientIdentity {
return nil
}
-func (tm *TestManager) KeyManager() *ethcrypto.KeyManager {
+func (tm *TestManager) KeyManager() *crypto.KeyManager {
return nil
}