Skip to content

Commit

Permalink
helpers done help
Browse files Browse the repository at this point in the history
  • Loading branch information
Silas Davis committed Jun 22, 2016
1 parent 6f0e09c commit 19b5cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import (
definitions "github.com/eris-ltd/eris-db/definitions"
event "github.com/eris-ltd/eris-db/event"
manager "github.com/eris-ltd/eris-db/manager"
erismint "github.com/eris-ltd/eris-db/manager/eris-mint"
rpccore "github.com/eris-ltd/eris-db/rpc/tendermint/core"
// rpc_v0 is carried over from Eris-DBv0.11 and before on port 1337
rpc_v0 "github.com/eris-ltd/eris-db/rpc/v0"
rpccore "github.com/eris-ltd/eris-db/rpc/tendermint/core"
// rpc_tendermint is carried over from Eris-DBv0.11 and before on port 46657
// rpc_tendermint "github.com/eris-ltd/eris-db/rpc/tendermint"
"github.com/eris-ltd/eris-db/manager/eris-mint"
server "github.com/eris-ltd/eris-db/server"
"github.com/tendermint/go-rpc/server"
"github.com/tendermint/tendermint/node"
Expand Down
7 changes: 4 additions & 3 deletions rpc/tendermint/test/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"testing"

acm "github.com/eris-ltd/eris-db/account"
"github.com/eris-ltd/eris-db/server"
edb "github.com/eris-ltd/eris-db/core"
erismint "github.com/eris-ltd/eris-db/manager/eris-mint"
sm "github.com/eris-ltd/eris-db/manager/eris-mint/state"
Expand All @@ -23,14 +22,16 @@ import (
rpcclient "github.com/tendermint/go-rpc/client"
"github.com/tendermint/go-wire"

cfg "github.com/tendermint/go-config"
"github.com/tendermint/tendermint/config/tendermint_test"
nm "github.com/tendermint/tendermint/node"
"github.com/tendermint/tendermint/types"
"github.com/eris-ltd/eris-db/server"
)

// global variables for use across all tests
var (
config server.ServerConfig
config cfg.Config
node *nm.Node
mempoolCount = 0
chainID string
Expand Down Expand Up @@ -116,7 +117,7 @@ func newNode(ready chan struct{}) {
node.Start()

// Run the RPC server.
edb.StartRPC(config, node, app)
edb.StartRPC(server.DefaultServerConfig(), node, app)
ready <- struct{}{}

// Sleep forever
Expand Down

0 comments on commit 19b5cbc

Please sign in to comment.